//View Tip #224
Similar Tips
» Random line
» Moved Trac and Subversion repositories to another machine/direct
» Hide files in an image
» Fix the previous command
» View non-printing characters with cat

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
If you want to surround the output of a command by a header or a footer try the following:

$ command | cat headerFile - footerFile


For example
$ ls *txt | cat header - footer
Here is a list of files:
1.txt
2.txt
End of file list


View Comments »




Comments 

Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit