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 10-21-2008
Satyak Satyak is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 85
Post create a new file

hi
i am using the followning code to create a new file in given folder

PATH="/home/sat/kat"
ls $FILESPATH | while read filename
do
touch $PATH$filename
.........
done


but it is not working ,please help

thanks
Satya