Simple script not working- for loop

view story

http://www.unix.com – Hi all, Please guide me writing this script Follwing is the file which I have created, which contains the files to be copied. Code: cat system1-dr.txt /etc/passwd /etc/shadow /etc/group /etc/vfstab /etc/profile /etc/default/init /etc/shells /etc/dfs/dfstab /etc/dfs/sharetab /etc/default/password This is the small script I have written for this task , but when I execute it instead of files defined in system1-dr.txt getting copied system1-dr.txt file get copied. below is the script Code: cat script1 for i in /users/jack/system1-dr.txt do sudo cp $i /users/jack/DRbep01 done cd  /u (HowTos)