Hi All..
I have a script used in process. I want to Know exactly what this is doing:
if [[ $cmd = "put" || $cmd = "append" ]]; then
echo "open $server
user $user $pwd
cd $tdir
$cmd $files
quote site chmod 666 $files
quit " | ftp -n -v > putfiles${jobid}.log
fi
This script is ft' ing a file from one server to other server(to put a file). I want to know extactly what chmod is doing in above script.
Thank you
I have a script used in process. I want to Know exactly what this is doing:
if [[ $cmd = "put" || $cmd = "append" ]]; then
echo "open $server
user $user $pwd
cd $tdir
$cmd $files
quote site chmod 666 $files
quit " | ftp -n -v > putfiles${jobid}.log
fi
This script is ft' ing a file from one server to other server(to put a file). I want to know extactly what chmod is doing in above script.
Thank you