1. Which of the following refers to a system that does not run on a terminal?
c. Daemon Process
2. What is the PID of init?
1
3. Which of the following statements are true?
c. a child process may only have one parent process?
d. all background processes have a PID and a JID
4. Which of the following commands can quickly identify the child processes started by a particular daemon?
d. pstree
5. To what processes are regular users allowed to send kill signals?
Their own
6. You have just run the ps aux command and notice that most daemons have a S in the STAT column. What does this mean?
Those commands are sleeping
7. What key can you press in the top command to send the process a signal?
b. k
8. What can you type at a command prompt to run the updatedb command in the background?
updatedp bg
9. Which of the following key combinations can you use to pause a foreground process, such that it may be sent to the background with the bg command?
c. Cntl+Z
10. Which of the following kill commands may be used to send the second background job a SIGINT?
a. kill -2 %2
11. If you do not specify the type of signal when using the kill or killall command, which signal is used by default?
d. SIGTERM
12. What command could you use to change the priority of a process (PID=592) to run with the highest priority?
nice 592 -20
13. What action in the /etc/innittab file is used to determine the default runlevel at system initialization?
initdefault
14. What is the default runlevel in SLES?
5
15. What runlevel loads all networking daemons ( including NFS) but does not start a display manager?
c. 3
16. What command can you type to change your runlevel to single user mode?
init 1
17. Which of the following commands will force your system to reboot?
b. reboot
d. init 6
18. Which of the following commands may be used to stop the SSH daemon (sshd)?
c. /etc/init.d/sshd stop
19. What template can you copy to create a script that is used to start or stop daemons in the /etc/init.d directory?
Init Info
20. Which of the following methods can you use to start the SSH daemon (sshd) upon entering runlevel 3?
a. Create a shortcut to the /etc/init.d/sshd script called /etc/init.d/rc3.d/S88sshd
c. Change the INIT INFO section of hte /etc/init.d/sshd script and run the insserv command
d. Run the YaST Runlevel Editor Ext3
21. You have a script that is used to remove temporary files and would like this script to run on a daily basis. What directory could you place this script in to have the cron daemon execute it each day?
/etc/cron.daily
22. What command could a regular user use to edit their crontab?
crontab
23. What lines would you add to your crontab to schedule the /bin/false command to run at 10:30 a.m. and 2:50 p.m. from Monday to Friday?
10:30 14:50 1-5 /bin/false
24. What command can you use to run the contents of the file cleanup at noon?
at 12 -f Cleanup
25. Which command can you use to view at jobs that have been scheduled on your system?
b. atq
Subscribe to:
Post Comments (Atom)
1 comment:
Nice job again
Post a Comment