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 04-26-2008
HIEUNK HIEUNK is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 3
cp can not access

Dear friends,

I make an script as below: BackupLog.sh

#backup file
file_name1=PartsOrderLog.log
file_name1_bk=PartsOrderLog_bk.log
cp $file_name1 $file_name1_bk
#end


but when I run this script, It's occur error as " cp : can not access PartsOrderLog.log"

Unix O.S

Please help me if possible

Thanks
Hieunk