Welcome to CSC150 Lab 3



This is the first UNIX lab. You will go through the basics of the bash shell on a Debian Linux Dell Power Edge server. Please follow the directions below:



1. Place your Ubuntu Live CD in the drive and reboot. At the Dell bios prompt, press F12 for a boot menu. When prompted, chose the IDE CD-ROM Device option and click enter. At the boot prompt, hit enter. This should boot the kernel.

2. At the Choose language screen, hit enter to choose the default English. At the choose your location screen, choose United States by hitting enter.

3. At the select a keyboard layout screen, hit enter to select American English.

4. To open a terminal window, right click the desktop and select Open Terminal.

5. In the Terminal, type ssh -X your_user_name@numbers and hit enter.

6. You may get a message about registry keys, type yes.

7. Enter you numbers password.

8. You are in your home directory(/home/<username>). List the contents of your directory by typing the command ls. This lists the files and folders in your directory. ls alone however does not list all of your directory's contents. Type ls -a. This displays your files as ls does, but also your "hidden" files (these are configuration files that begin with a period), the current directory (denoted .) and the directory above (denoted ..). Now type ls -al. This lists all files including hidden files as well as file sizes, permissions, ownership and date modified.

9. We will now obtain a printout of this list. In UNIX, it is possible to pipe any output to a text file. Do do so with your directory's contents, type the command:

ls -al > directory.txt

This creates a text file containing the contents of your directory.

10. To log off of numbers, type exit. Type exit again to end the local terminal session. Then click system from the task bar at the top of the screen and choose log out. Click the Shut Down radio button and click OK. The session will terminate and should eject the CD. Remove the disk, close the tray and press enter to reboot.