I have a remote host called myhost
and I have some log files that I want to access in the terminal.
For example, I can access this in my browser:
file://myhost/f$/logs/dev.log
But when I try this in the terminal
scp -p "username@myhost:/f$/logs/dev.log" "/home/Documents"
it gives me the 'cannot stat' error:
cp: cannot stat `username@myhost:/f$/logs/dev.log': No such file or directory
I have tried using username@file://myhost
and username@//myhost
but still no luck.
Any ideas?
Thanks in advance!
`username@myhost:/f$/logs/dev.lo'
(note missingg
at the end). Is that a typo in the error message or the cause of your problem?/f$/logs/dev.log
or is it in/_<homedir>_/f$/logs/dev.log
?