The UNIX and Linux Forums  

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 -->
  #1 (permalink)  
Old 02-07-2007
amit4g's Avatar
amit4g amit4g is offline
Registered User
  
 

Join Date: Apr 2006
Location: Bangalore,India
Posts: 29
Howto create a file

Hi folks,

How do we create a file using shell script?
i mean to say that do we use
is it a good approch to do
echo "abc" >file
echo "xxxx" >>file

or is there any better method?

Thanks,
Amit