Google
 

 

up previous next contents
Up: IntroToUnix Previous: X-Windows   Contents

Introduction to Unix - Final Exam

1. What are the three major login shells available with Unix computer systems?

2. Change your password. Make your new password abcdef12.

3. What is your "home" directory? Generate a long listing of the files in your "home" directory.

What subdirectories are located in your home directory?

What files are located in your home directory?

What rights do other users have in your home directory? (Users in your group, and other users not in your group)

4. Who else is logged in on the computer at this time?

5. Copy the /etc/passwd file into your home directory.

6. Move the passwd file in your home directory to the name passwd.old.

7. Create a directory named scratch in your home directory.

8. What is the value of the following environment variables: PATH, TERM.

9. What is the basic command for printing files? What is the command to view printer status information?

10. Display full information about your processes. What is the PID of your login shell?

11. Use the ps -ef command to view information about all system processes. Notice that the output scrolls off of the screen. Create a pipeline that keeps this information from scrolling off the screen.

12. Use the ps -ef command again, but this time redirect the standard output from this command to a file named ps-ef.output.

13. cd to the /etc directory. Use the grep command to find your login name (i.e., stu#) in the passwd file.