1. Home
  2. Computing & Technology
  3. Linux

Introduction to Linux

From Machtelt Garrels, for About.com

4.6.1. General

  • Run top in one terminal while you do the exercises in another.

  • Run the ps command.

  • Read the man pages to find out how to display all your processes.

  • Run the command find / . What effect does it have on system load? Stop this command.

  • In graphical mode, start the xclock program in the foreground. Then let it run in the background. Stop the program using the kill command.

  • Run the xcalc directly in the background, so that the prompt of the issuing terminal is released.

  • What does kill -9 -1 do?

  • Open two terminals or terminal windows again and use write to send a message from one to the other.

  • Issue the dmesg command. What does it tell?

  • How long does it take to execute ls in the current directory?

  • Based on process entries in /proc , owned by your UID, how would you work to find out which processes these actually represent?

  • How long has your system been running?

  • Which is your current TTY?

  • Name 3 processes that couldn't have had init as an initial parent.

  • Name 3 commands which use SUID mode. Explain why this is so.

  • Name the commands that are generally causing the highest load on your system.

* License

* Introduction to Linux Index

Explore Linux

More from About.com

  1. Home
  2. Computing & Technology
  3. Linux
  4. Linux Documentation
  5. Introduction to Linux
  6. Introduction to Linux - Exercises

©2008 About.com, a part of The New York Times Company.

All rights reserved.