Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, How can i use the pipe command to write terminal outputs to the same file without being overwritten ..... Currently i am using the command ... which overwrites the file everytime i try it again. $ ps ax > filename thanks for your time prakash
Post Follow-up to this messageVaddina Prakash Rao wrote: > How can i use the pipe command to write terminal outputs to the same > file without being overwritten ..... > Currently i am using the command ... which overwrites the file > everytime i try it again. > > $ ps ax > filename Strictly, it is not a "pipe", but "redirection". To append to the file instead of overwriting it, use a double '>'. $ ps ax >> filename Regards, Heiko
Post Follow-up to this messageThanks for the information ... It really helps ..
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.