What command will generate a list of user names from /etc/passwd along with their login shell?

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/passwdView AnswerAnswer: D

November 9, 2020 No Comments READ MORE +

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...

November 9, 2020 No Comments READ MORE +

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 XXView AnswerAnswer: AD

November 9, 2020 No Comments READ MORE +

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 AnswerAnswer: C

November 9, 2020 No Comments READ MORE +

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 kernelView AnswerAnswer: B

November 9, 2020 No Comments READ MORE +

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 . quietView AnswerAnswer: D

November 9, 2020 No Comments READ MORE +

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 AnswerAnswer: update -or- upgrade

November 9, 2020 No Comments READ MORE +

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 initView AnswerAnswer: BCE

November 9, 2020 No Comments READ MORE +

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 AnswerAnswer: HISTFILE

November 9, 2020 No Comments READ MORE +

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 . showmenuView AnswerAnswer: C

November 8, 2020 No Comments READ MORE +