2

cp command with dollar variable in ksh

view story
linux-howto

http://www.unix.com – hi, I have been trying to acheive the following task for a while now, but failed.. Need help, experts please help! This is what I am trying to do: - I am writing to a flat file the name of the source to be copied and the destination path as to where it is to be copied to. Sample flat file: Abc.scr $DESTN_PATH/test Def.scr $DESTN_PATH/new - I am reading the source name from this file from a shell script and replacing in the cp command. For example in the file above filename=abc.scr destn= $DESTN_PATH/test So in shell script I am executing: cp $filename $destn The issue I am fac (HowTos)