Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Publication Station
Search
Editing
Text Images
(section)
From Publication Station
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== pipes, write to & append ==== '''A pipes (" | ") sends the output of one program to the input of another program'''. <code>echo "my sentence"| wc</code> the echoed sentence "my sentence" is ''pipped'' into the program wc which counts the number of lines, words, and characters <code>></code> Writes the output of a command to a file, rather than to print on terminal. <code>df > df_output.txt </code> redirect the content of <code> man dfM </code> to a file called df_output.txt If the said file doesn't exit it will create it, if it already exists it will overwrite its contents/ <code>>></code> appends the output of a command to a file, without overwriting the original file. <code> echo 'also add this' >> df_output.txt </code> will add 'also add this' to the contents of df_output.txt
Summary:
Please note that all contributions to Publication Station are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Publication Station:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Main navigation
Main page
Printmaking Studio
Print Studio
Dig. Publishing Studio
Namespaces
Grafiwiki
Random Page
Log in
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs