Moving a file using PuTTY
- by Paul Trotter
I am newbie struggling to move a file on a Linux VPS using PuTTY.
I can log in with a user in PuTTY at this point I can navigate to see the file I wish to move (~/servers/apache-solr-3.6.2/example/webapps/solr.war).
By using cd .. a couple of times from the directory I begin at when I first log in to PuTTY I can then navigate to the location I wish to move the file to:
usr/local/jakarta/apache-tomcat-5.5.36/webapps/
I know that I need to use cp to copy the file and have tried variations on:
cp ~/servers/apache-solr-3.6.2/example/webapps/solr.war usr/local/jakarta/apache-tomcat-5.5.36/webapps
However each time I get 'No such file or directory'
I have tried excluding the ~/ and the start and I have tried specifying solr.war at the end of the command.
Please excuse the newbie question, but I would really appreciate some advice on what I am doing wrong here.