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

January 3, 2021 No Comments READ MORE +

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

When removing a package, which of the following dpkg options will completely remove the files including configuration files?A . --cleanB . --deleteC . --purgeD . CremoveView AnswerAnswer: C

January 2, 2021 No Comments READ MORE +

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)A . 0B . 1C . 3D . 5E . 6View AnswerAnswer: A,E

January 2, 2021 No Comments READ MORE +

Which command displays the contents of the Kernel Ring Buffer on the command line?

Topic 1, System Architecture CORRECT TEXT Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)View AnswerAnswer: dmesg, /bin/dmesg

January 2, 2021 1 Comment READ MORE +

During a system boot cycle, what program is executed after the BIOS completes its tasks?

During a system boot cycle, what program is executed after the BIOS completes its tasks?A . The bootloaderB . The inetd programC . The init programD . The kernelView AnswerAnswer: A

January 1, 2021 No Comments READ MORE +

What is the difference between the --remove and the --purge action with the dpkg command?

What is the difference between the --remove and the --purge action with the dpkg command?A . --remove removes the program, --purge also removes the config filesB . --remove only removes the program, --purge only removes the config filesC . --remove removes a package, --purge also removes all packages dependent on...

January 1, 2021 No Comments READ MORE +

Which command would disconnect the users and allow you to safely execute maintenance tasks?

You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?A . telinit 1B . shutdown...

January 1, 2021 No Comments READ MORE +

Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?

Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?A . auto-updateB . upgradeC . dist-upgradeD . installE . updateView AnswerAnswer: B

January 1, 2021 No Comments READ MORE +

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)A . find /tmp -uid root -printB . find -path /tmp -uid rootC . find /tmp -user root -printD . find /tmp...

January 1, 2021 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.View AnswerAnswer: /tmp, tmp

January 1, 2021 No Comments READ MORE +