Karteikarten
Chapter 04 - Review Questions
Karten in diesem Stapel (23)
- 1Which is the default command line editor called?sThe default command line editor is Emacs.
- 2When would the cron daemon execute a job that is submitted as */10 * 2-6 */6 * /home/user1/script1.shThe cron daemon will run the script every tenth minute past the hour on the 2 nd , 3 rd , 4 th , 5 th , and 6 th day of every 6 th month.
- 3What is the other command besides ps to view processes running on the system?The top command.
- 4Name two usages of the pipe symbol.The pipe can be used as an OR operator and to send the output of one command as input to the next.
- 5What are the two commands we learned to list the PID of a specific process?The pidof and pgrep commands.
- 6What are the background processes normally referred to in Linux?The background processes are referred to as daemons.
- 7What is the default nice value?dsdsThe default nice value is zero.
- 8The parent process gets the nice value of its child process. True or False?False. The child process inherits its parent’s niceness.
- 9What would the nice command display without any options or arguments?dsdsThe nice command displays the default nice value when executed without any options.
- 10Every process that runs on the system has a unique identifier called UID. True or False?False. It is called the PID.
- 11Why would we use the renice command?The renice command is used to change the niceness of a running process.
- 12Which user does not have to be explicitly defined in either *.allow or *.deny file to run the at and cron jobs?The root user.
- 13When would the at command execute a job that is submitted as at 01:00 12/12/15?The at command will run it at 1am on December 12, 2015.
- 14What are the two commands that we can use to kill a process if the PID is known?The kill and pkill commands.
- 15What is the directory location where user crontab files are stored?The user crontab files are stored in the /var/spool/cron directory.
- 16By default the *.allow files exist. True or False?False. By default, the *.deny files exist.
- 17Name the three quoting mechanisms?The three quoting mechanisms are backslash, single quotes, and double
- 18Where does the scheduling daemons store log information of executed jobs?The scheduling daemons store log information of executed jobs in the /var/log/cron file.
- 19Which command can we use to edit a crontable?We can use the crontab command with the –e option to edit crontables.
- 20The default location to send application error messages is the system log file. True or False?False. The default location is the user screen where the program is initiated.
- 21We have to restart crond after modifying the /etc/crontab file. True or False?False. The crond daemon does not need a restart after a crontable is modified.
- 22What are the five process states?The five process states are running, sleeping, waiting, stopped, and zombie.
- 23Signal 9 is used for a soft termination of a process. True or False?True. Singal 9 kills a process by force.
Informationen
- Beschreibung
- RHCSA EX200 (04. Dealing with the Bash Shell, Processes, and Scheduling) Karteikarten am Chapter 04 - Review Questions, erstellt von Vagner Aragão am 25/01/2019.
- Erstellt von
- Vagner Aragão
- Aufrufe
- 0
- Bewertung