The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 02-10-2009
praka praka is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 18
whether this code $ :>file
will remove all contents from file and put into another file?

If yes then i need code to remove all the file contents without creating new file.

The other code is ok. remove the file and touch file.