Transferring Files To/From Your Linux Account

To/From Personal Machines

Mac/Linux

scp: Secure CoPy

If you use Linux or Mac at home, you can Secure CoPy or scp your files to and from the Linux machines.

scp works similar to the cp command:

scp <source> <dest>

where either the source or the destination can be a remote location, in the form username@remotehost:path/to/resource/from/username's/home

For example

 scp thisfile username@python.cs.wlu.edu:path/to/destlocation/

If you want to copy a whole directory, use the -r option, just as in the cp command.

Machine Names

sftp: Secure FTP

You could also use Secure FTP (File Transfer Protocol) to transfer files.

Windows

You can use an FTP (File Transfer Protocol) tool, such as SmartFTP.

Connect to fred.cs.wlu.edu with your username and password for the Linux machines. You can then use the GUI to transfer your files from your home machine to your Linux account and back.

Cross-Platform GUIs

  • FileZilla is a free, open-source, cross-platform FTP client. Connect to a machine accessible from outside the W&L network (fred + .cs.wlu.edu) at port number 22, using your username and password for the Linux machines. Choose to trust the machine.

Changing File Formats

On Linux, you can automatically change plain text files formatted for Mac or DOS to Unix using the commands dos2unix or mac2unix. Use man to learn how to use the commands.

labs/transfer_files.txt · Last modified: 2021/06/14 11:58 by admin
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0