Page 1 of 1
How to save file to desktop using Linux commands?
Posted: Thu Nov 20, 2014 12:20 am
by Darrel
I am a beginner to Linux commands. I use SSH to connect to a Linux server. What command can I use to save a text file on the server to my desktop?
Re: How to save file to desktop using Linux commands?
Posted: Thu Nov 20, 2014 6:40 am
by Celauran
No SFTP access? scp might be easiest, then.
http://linux.die.net/man/1/scp
Re: How to save file to desktop using Linux commands?
Posted: Thu Mar 05, 2015 6:03 am
by Celauran
jeffreyappel wrote:: cp [source file name] [destination file name]
No. cp won't copy across a network.
Re: How to save file to desktop using Linux commands?
Posted: Thu Mar 05, 2015 9:13 am
by Christopher
How big is the text file? If it is a one-time thing, you could cat it to the terminal and then copy it from the screen. Otherwise, sftp or scp or rsync.
If you want file manager access to files, you could use Samba to share a directory on the Linux machine so that the Windows machine could mount it from the network.