Starting from:

$10

CS2211- Unix Lab Solved

The objective of this lab is to get familiar with the process of login/logout to/from a local Linux box as well as Obelix.  You will also practice some basic Unix commands.

If you would like to leave, and at least 30 minutes have passed, raise your hand and wait for the TA. 

Show the TA what you did. If, and only if, you did a reasonable effort during the lab, the TA will give you the lab mark.  ====================================================================================

Computers in MC10 are running Ubuntu 14.04 64-bit Linux operating system with GNOME flavor.

1.     Login to a Linux box using your user ID and password provided to you by email.

After entering your user ID and your password, but before clicking on the SIGN IN, you may wish to select the desktop environment flavor from the bottom left panel. The default is GNOME flashback. However, you should try GNOME Classic as well.   What is the main difference between GNOME Classic and GNOME flashback?

2.     Open a terminal (from applications, accessibility, click on terminal)

3.     Execute hostname command to know the name of the host machine

4.     Login to your gaul account by executing  ssh –X obelix.gaul.csd.uwo.ca –l your-gaul-user-id (or simply ssh –X gaul.csd.uwo.ca –l your-gaul-user-id).  You can also login to your gaul account by executing  ssh –X your-gaul-user-id@obelix.gaul.csd.uwo.ca (or simply ssh –X your-gaul-user-id@gaul.csd.uwo.ca).

Do not remove or overwrite the files that are not created by you, e.g., .cshrc, .login. You may want to accept and save the RSA key for the remote host the first time you ssh to that host. RSA keys will be saved at ~/.ssh/known_hosts

5.     Execute hostname command to know the name of the host machine

6.     Change your gaul password using  passwd command

7.     Logout from gaul  

8.     Logout from the local Linux box (you should wait few seconds)

9.     Login again to the local Linux box (which password will you use? Why?)

10.  Open a terminal

11.  ssh again to your gaul account (which password will you use? Why?)

12.  Logout from gaul  

13.  Attempt to change the password at the local Linux box (What happened? and why?)

14.  Practice using Unix editors, e.g., vi, pico, and gedit 

15.  Practice cut/paste text, as well as copy/paste text

16.  Practice moving/resizing/minimizing/restoring/destroying windows

17.  Open one of the Linux browser and practice it

18.  Try who and finger commands from gaul and from the local Linux box. Tell the difference between the two outputs.

19.  Practice the following UNIX commands (what do they do?):  

man (use this to discover what the rest of the commands do),  pwd,  cd,  mkdir,  rmdir,  ls (including the –l, –a and –F options),  cat,  mv,  rm,  cp,  more,  who,  finger,  date, lpr,  chkquota,  quota –v 20. Do not forget to logout.

More products