University of Baltimore
Merrick School of Business
Assignment 4: Treasure hunting in Linux
Send me (email@example.com) an e-mail (use as subject 610a4 answering the following questions (please note that these questions require you to use the MIS Lab or a machine with Linux installed.
- Login and change of desktop:
The machines in the MIS Lab are waiting for a login in Linux, like in MISLABxx login: _ (if the screen is blank press space to see the login prompt) or in Windows. If the machine is waiting for a Windows login press the restart button and select login in Linux, not in Windows. Enter your username and the system will ask for your password. After you are logged in type startx and you will be placed in a graphical desktop.
- If the desktop you are is Gnome you will see in the bottom of the screen the Gnome toolbar. If the desktop is KDE you will see in the bottom of the screen the KDE toolbar and you should bypass the next instructions and go to "B. Perform some basic operations."
- Click (do not double-click) on the Monitor symbol besides the Netscape symbol and a terminal window will open.
- Select the terminal window, by clicking on the top of the terminal window. In the terminal window type switchdesk.
- A graphical tool to select desktops will open and you should choose KDE and click on OK. A message will tell that it is done but you need to exit X-Windows and come back to see it.
- Click on the foot symbol in the Gnome toolbar (the leftmost) and select Log out (the last item).
- You will be placed again in text mode. Type startx to go back to graphical mode in KDE.
- Perform some basic operations:
(Refer to my KDE tutorial for details on KDE, specially the item in customizing KDE.)
- Make the color of your desktop white, and select from /usr/share/pixmaps/backgrounds/space a background image. (Hint: click on Browse in the KDE Control Center, Bakground and navigate the directory tree until you find this directory.) You will need to include in your report a copy of the file .kde/share/config/desktop0rc in your home directory, where the information about your backgroung choices will be recorded by KDE.
- Open a terminal window using KDE toolbar clicking on its symbol . Obtain a listing of all files in your home directory, including hidden files and redirect it to a file. (HINT: to redirect use command > filename like in DOS, e.g. cat test > test.txt , where test.txt would contain the result of the command.) You will use this file later on in your report.
- Obtain a list of all files in the root / directory, including file types, ownership, permissions and size. Read (explain this list) for at least three different files of each different file type. Again redirect the output to a file.
- Use a command to show your home directory, tell which one was it, and the full path of your home directory. Write this information in a file, using Kedit.
rintenv and obtain the environment variables PATH and HOME. Again redirect the output to a file.
- Use the df -k command and find the percentage of free space in /boot file system. Once more redirect the results to a file, open the file in Kedit and explain what you see in the results.
- Use cat and more and display the content of a file (equivalent to type in DOS). Explain the difference between the two commands given what you saw in a file created with Kedit.
- Open the KDE file manager and click on View, and select Show hidden files, Show Tree and Long View. Then Select Options, Save Settings to save your settings. Navigate the file manager using the mouse and go to /etc/X11/wmconfig and see who owns and who can read lynx. Then go to /etc/X11/xdm and see who can execute chooser. Create a text file using Kedit and write what you saw. You will include this file in your report.
- Still using the file manager go back to your home directory. In what sub-directory of your home directory is the Netscape cache saved? In what sub-directory, or sub-directories, are information kept about gnome?
- Use Kedit to combine the files you saved before and then send me as an attachment to an e-mail with the subject 610A4. You can also setup the KDE graphical Mail client and use it to send an e-mail to yourself with the file attached to it or cut and pasted to it, or setup and use Pine in Linux (just open a terminal window and type pine), or setup and use Netscape mail (just open a terminal window and type netscape).
This page is maintained by Al Bento who can be reached at abento@UBmail.ubalt.edu
This page was last updated on September 25, 2001. Although we will attempt to keep this information accurate, we can not guarantee the accuracy of the information provided.