Good day all
I am trying to figure out how to automate the command [cd] in a shell script that i have written.
Some context:
The script does the following on the local host
#!/bin/sh
banner 'QikCopy'
echo "Please insert file name for SCP command!"
read file DUMMY
scp -p $file user@remotehost:/aim002/DSExtras/SeqFiles/
banner "Redirect"
ssh remotehost
The last line of code executes , it is at this point i would like to include a
cd
command to take me to a specified directory or access a soft link that alias's a directory on the remote shell :wall: