//View Tip #224
Similar Tips
» Fix the previous command
» Random line
» Filter stderr for cron jobs
» Hide files in an image
» Moved Trac and Subversion repositories to another machine/direct


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:
End of file list

View Comments »


Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit