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 -->
  #3 (permalink)  
Old 01-28-2008
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
Quote:
Originally Posted by sysgate View Post
use "touch" to create files, or "echo", like :

Code:
touch /opt/file-${var}-more.txt
echo "" > /opt/file-${var}-more.txt
Or simply
Code:
> /opt/file-${var}-more.txt