The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.
Quiz
1:
How would you get a listing of all currently running processes on a Linux system?
2:
How would you forcibly kill, without questions or delay, process number 1340?
3:
How would you enable the httpd (web) server for runlevel 4?
4:
How do you list all file systems on the device /dev/hdb, as well as its size?
5:
How do you edit the personal list of periodic tasks?
Answers
A1:
ps ax
or
ps -ef
A2:
kill -KILL 1340
A3:
/sbin/chkconfig --level 4 httpd on
A4:
/sbin/parted /dev/hdb print
A5:
crontab -e
Activities
Get a list of all of the processes currently running on your system using the ps command and the ax arguments.
Use the chkconfig command and the -list option to get a listing of all the services that your Linux system runs at various runlevels.
Use the service command and the restart argument to restart one of the services currently running on your Linux system.
Add a user account called galileo and assign it a password. Log in to the account to verify that it exists. Then log out and back in as root again and delete the account and its home directory.