What command will generate a list of user names from /etc/passwd along with their login shell?A . column -s : 1,7 /etc/passwdB . chop -c 1,7 /etc/passwdC . colrm 1,7 /etc/passwdD . cut -d: -f1,7 /etc/passwd View Answer Answer: D...
Which of the following statements is correct regarding the command foo 1> bar?
Which of the following statements is correct regarding the command foo 1> bar?A . The stdout from the command foo is appended to the file bar.B . The stdout from the command foo overwrites the file bar.C . The command foo receives its stdin from the file bar.D . The command foo receives its...
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)A . esc ZZB . ctrl :w!C . esc zzD . esc :wq!E . ctrl XX View Answer Answer: AD...
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?A . !B . +C . &D . %E . # View Answer Answer: C...
Which of the following commands can be used to download the RPM package kernel without installing it?
Which of the following commands can be used to download the RPM package kernel without installing it?A . yum download –no-install kernelB . yumdownloader kernelC . rpm –download –package kernelD . rpmdownload kernel View Answer Answer: B...
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
Which of the following kernel parameters instructs the kernel to suppress most boot messages?A . silentB . verbose=0C . nomesgD . quiet View Answer Answer: D...
Which option to the yum command will update the entire system?
SIMULATION Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.) View Answer Answer: update -or- upgrade...
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)A . startdB . systemdC . UpstartD . SysInitE . SysV init View Answer Answer: BCE...
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process?
SIMULATION Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.) View Answer Answer: HISTFILE...
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?A . hidemenuB . splashC . timeoutD . showmenu View Answer Answer: C...