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 11-18-2008
Arunprasad Arunprasad is offline
Registered User
  
 

Join Date: Aug 2008
Location: syn chen
Posts: 73
Post About \ (Back slash)

Hi All,

print "path/executable_file parameters" \
> path/file1
print "path/executable_file parameters" \
> path/file2
print "path/executable_file parameters" \
> path/file3


chmod 775 path/file1 \
path/file2 \
path/file3

could you please let me know how the back slash will be useful and its effect in using in the shell script.
please explain how its working in the above print and chmod.

i read some documents about back slash
"preceding the same string with a backslash, \, also removes the special meaning of a character, or string".

i am not getting what it is actually doing.
please let me know.

Thanks.