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?
There's an interesting discussion going on now in an Experts Exchange Group —
Attachments with no extension
. This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its cont…
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.:
Learn how to navigate the file tree with the shell.
Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…