Painting Blue Code
Simple, self-explanatory code snippets.
2015-09-02
MacOS - Executing/sending the contents of a file to an executable program
cat
/path/filename.txt
|
executable_program_here
In this example, sending the contents of a .js file, to mongodb.
cat
script.js
|
mongo
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment