Thursday, September 6, 2012

Using echo command on linux


To empty file 

 echo -n > filename

To insert text into file

 echo "hello" > filename 


No comments:

Post a Comment