I am writing a shell script where I have to delete a file on a remote machine via a shell script.
- Log on to remote machine:
- At the remote machine (
domain), type the following commands
cd ./some/where rm some_file.war
How should I accomplish that task in a script?