I'm connect to a host via ssh then I sftp to the same host and try and execute a PUT command trying to copy a file from my local file system to the host I ssh'd and sft'd to. I get a file not found. I dragged the file from my local file system so I know the path is correct. How would I get a file from my local file system up to that host?
Little introduction about CP:
CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow:
cp /myfoder /pathto/destination/folder/
cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands.
Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands.
Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.: