I created a file on a remote computer into which I entered ssh-ed. I want to transfer the file back to the laptop that I am currently using. I see that I should use the command:
scp username@server :/home/username/file_name /home/local-username/file-name
But I'm still not sure what I should use for my laptop (which is a macbook). For home, I assume that I use the path that appears when I type pwd into my terminal when it opens?
I try this and I get a message:
No such file or directory
I know this is easy, but I have not done this before. Any help would be great. Thanks.
user1551817
source share