Remotely Logging In to Your Linux Account

To access our Linux systems remotely from your PC, download and install one of the secure shell packages. There is a link to the SSH Communications package on your course website. When you login remotely, use either SSH Secure Shell Client or SSH Secure File Transfer (depending on what you want to do) with the host name "", your accountname, and password.

Using Linux Commands

Linux has a command line user interface. After login and after the completion of each Linux command, Linux prints a prompt. For each Secure Shell Client action you want to perform, you must type a "command" usually with some additional parameters. The Linux system is case sensitive, so you must type commands and parameters in the correct case for the system to recognise the commands. For example after you login, you can "see" the files on your home directory using the command "ls". The command "LS" is not the same as "ls" due to the Linux case sensitivity. The "ls" command can also be typed with some parameters. The "ls" command with one parameter allows you to see hidden files such as your .forward file (see below for use of this file for forwarding email): "ls -A". When you no longer want to enter commands, enter the "logout" command to logout.

Required Use of Your Linux Account

For this course, you are required to be able to login and do two things with your Linux account:

These can be accomplished with very little understanding of Linux and its commands. Here are instructions for doing both of these activities with minimal knowledge of Linux.

Forwarding Mail from Linux

If you want your email forwarded to another email adress, follow these instructions:

Login and create a file in your Linux home directory. The file must be named .forward (a period and the word forward). The contents of that file should be the address where you want your email sent. Example (bold items are the ones I typed):

Use SSH Communications Secure Shell to login to your Linux account.

blade64(1)% pwd

blade64(2)% cat > .forward
(After typing the email address and enter key, hold down the Control key and type the letter d.)

blade64(3)% cat .forward
blade64(4)% logout

Explanation: I first entered a 'pwd' command to make sure I was in my home directory. Next I used a special 'cat' command to create the .forward file I need. I typed the email address, enter, and control-d (hold down the control key and hit the d key) to close the file. Finally, I checked my work by typing out the file with a normal "cat" command to verify its contents. Then, I logged out with "logout". Send an email to your email address to verify that you receive it at your forwarded email address. If you have an incorrect entry in your .forward file, it may cause email to the class email list to get bounced with errors. Please be careful to put one and only one line with a valid email address in your .forward file.

Uploading Project files

Use SSH Communications Secure File Transfer to login to your Linux account. You will see a window with icons for the contents of your home directory (its files and folders). You should find one folder with the name of your course, for example "cs110" or "cs210". If you do not have such a folder, you have not applied for a Linux account correctly and should ask your instructor for help. Double click on this folder icon. It will show you icons for the files and folders in this directory (if any). Drag and drop your entire Project folder from your PC window to this folder on our Linux system.

Additional Use of Your Linux Account

You may already know how to use Linux or you may be interested in learning to use Linux. If you are using our Linux system for more than email forwarding and uploading your project folders, you will probably want to learn to use the following Linux commands.

You can find out information about each command using the man command. Enter "man ls" to get a user manual for the ls command. You may send and receive mail via the Linux "pine" command and create/edit text files with the Linux "pico" command. If you need to escape from a command or program that is running amok, use control-c (hold down the control key and hit the c key).