Advanced Unix - Study Guide for Final
66 Questions I 4 Attempts I Created By MrsQ 157 days agoQuestion Excerpt From Advanced Unix - Study Guide for Final
| Q.1) | Which command entered without arguments is used to display a list of processes running in the current shell? |
| A. |
| B. |
| C. |
| D. |
| Q.2) | Which of the following statements is true? (Choose all that apply.) |
| A. |
| B. |
| C. |
| D. |
| Q.3) | Where are individual user tasks scheduled to run with the cron daemon stored? |
| A. |
| B. |
| C. |
| D. |
| Q.4) | Which process will always have a PID of 1 and a PPID of 0? |
| A. |
| B. |
| C. |
| D. |
| Q.5) | The term used to describe a process spawning or initiating another process is referred to as_____. |
| A. |
| B. |
| C. |
| D. |
| Q.6) | As daemon processes are not associated with terminals, you must use the –e switch with the ps command to view them. True or False? |
| A. |
| B. |
| Q.7) | Which of the following commands will most likely increase the chance of a process receiving more time slices? |
| A. |
| B. |
| C. |
| D. |
| Q.8) | How can you bypass the wait function and send a user process to the background? |
| A. |
| B. |
| C. |
| D. |
| Q.9) | The at command is used to _______________. |
| A. |
| B. |
| C. |
| D. |
| Q.10) | What command is used to view and modify user jobs scheduled to run with cron? |
| A. |
| B. |
| C. |
| D. |
| Q.11) | Every process has a process ID and a_______. |
| A. |
| B. |
| C. |
| D. |
| Q.12) | The killall command terminates _________. |
| A. |
| B. |
| C. |
| D. |
| Q.13) | Nice values are used to affect process priorities using a range between _____________. |
| A. |
| B. |
| C. |
| D. |
| Q.14) |
What is the name given to a process not associated with a terminal?
|
| A. |
| B. |
| C. |
| D. |
| Q.15) | To kill a process running in the background, you must place a % character before its process ID. True or False? |
| A. |
| B. |
| Q.16) | What kill level signal cannot be trapped? |
| A. |
| B. |
| C. |
| D. |
| Q.17) | A runaway process that is faulty and consuming mass amounts of system resources ________. |
| A. |
| B. |
| C. |
| D. |
| Q.18) | When you run the ps command, how are daemon processes recognized? |
| A. |
| B. |
| C. |
| D. |
| Q.19) | Which command is used to gain real-time information about processes running on the system with the most processor-intensive processes listed at the beginning of the list? |
| A. |
| B. |
| C. |
| D. |
| Q.20) | Which command can be used to see processes running in the background? |
| A. |
| B. |
| C. |
| D. |
| Q.21) | Write the command to backup/tar all the *.conf files in the /etc directory and put it into a tar file called conf_backup.tar: |
| Q.22) | Write the command to backup/tar all the *.conf files in the /etc directory and put it into a tar file called conf_except_backup.tar but do not include the yum.conf file: |
| Q.23) |
Write the command to backup/tar all the *.conf files on the Linux (in every directory) put it into a tar file called conf_all_backup.tar. Hint: You must use the find command:
|
| Q.24) | The books mentions the three most popular compression utilities. What are they: (Separate each one with a single space no commas i.e., util1 util2 util3) |
| Q.25) | This command will show all the contents of a compress or gzip compressed file: |
| Q.26) | This command will show all the contents of a compress or gzip compressed file one page at a time forward only: |
| Q.27) | This command will show all the contents of a compress or gzip compressed file one page at a time with the ability to go forward or backward: |
| Q.28) | When using the compress command this extension is automatically put on the end of compressed file: |
| Q.29) | When using the gzip command this extension is automatically put on the end of compressed file: |
| Q.30) | Copy of When using the bzip2 command this extension is automatically put on the end of compressed file: |
| Q.31) | Write the command to list in long format the contents of /etc directory and compress the listing with the gzip utility into a file called etc_listing and make sure you show the compression ratio and filename: |
| Q.32) | What command can you issue to make sure your FTP server is running? |
| Q.33) | List the command to verify the FTP daemon is listening on port 21. |
| Q.34) | List the full name and path of the FTP configuration file. |
| Q.35) | List the command to restart the FTP server. |
| Q.36) | What port does FTP communicate through? |
| Q.37) | What is the location and the name of the FTP configuration file? |
| Q.38) | What does -HUP stand for? |
| Q.39) | When you access a UNIX server using anonymous FTP what directory do you land in? |
| Q.40) | What is the location and the name of the file where FTP transfer logs are kept? |
| Q.41) | What is the command to start an FTP session? |
| Q.42) | What is the FTP command to connect to specified host (use hostname as the name of the host) |
| Q.43) | This command closes the FTP connection (but not the FTP session!) |
| Q.44) | This command terminates the FTP session. |
| Q.45) | When browsing on a remote machine via FTP, this command gives a full directory listing on the remote machine |
| Q.46) | When browsing on a remote machine via FTP, this command displays only files and directories whose name begins with "test..." |
| Q.47) | When browsing on a remote machine via FTP, this command is the same as dir, but provides a simplified listing of filenames |
| Q.48) | When using FTP, this command prints the name of the current remote directory |
| Q.49) | When using FTP, this command is used to change the working directory on remote host |
| Q.50) | When using FTP, this command is used to change the default directory on local host |
| Q.51) | Type this command at the FTP prompt to set binary mode before transferring binary files |
| Q.52) | Type this command at the FTP prompt to set ASCII mode before transferring text files |
| Q.53) | Type the FTP command to copy file "test" from remote to local host (from current remote directory to current local directory) |
| Q.54) | Type the FTP command to copy files beginning with "test" and the file named data.dbf from remote to local host |
| Q.55) | Type the FTP command to copy file "test" from local to remote host. |
| Q.56) | Type the FTP command to copy files beginning with "test" and the file named data.dbf from local to remote host |
| Q.57) | Type the FTP command that allows you to see a file named "test" screen by screen before you get it. |
| Q.58) | This command turns off prompting for individual files when using the mget or mput commands. |
| Q.59) | If you have mistyped your username or password, use the _____ command to re-login. |
| Q.60) | For a list of all FTP commands type ___ at the ftp> prompt. |
| Q.61) | For a brief explanation of a command, type _____, leave a space,and type the command itself. |
| Q.62) | List the command to see the status of all printers |
| Q.63) | List the command to see the print queue entries. |
| Q.64) | The following commands can be used to control the status of printer (Select all that apply) |
| A. |
| B. |
| C. |
| D. |
| E. |
| F. |
| G. |
| H. |
| Q.65) | Match the following lp print command options with their function |
A. -d
A.
B. -i
B.
C. -n
C.
D. -m
D.
E. -o
E.
F. -q
F.
| Q.66) | Match the following lpstat print command options with their function |
A. -a
A.
B. -d
B.
C. -o {printername}
C.
D. -p
D.
E. -r
E.
F. -t
F.
Take this quiz by clicking Start button on top.
Related Topics
More Quizzes by MrsQ
- Java Review - Arrays, Methods, Classes and Inheritance
- PROG-413 Chapters 1 & 3 Review Questions
- PROG 350 Review Questions - Chapters 5 - 8
- PROG-350 Review Questions Chapters 9-11
- Advanced UNIX Commands study guide
- PROG 450 Review Questions from Chapters 1-3, 5

