FILL BLANK -
Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the command without any path or parameters.)
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream? txt1.bak.txt atxt.bak.txt txtB.bak.txt
As/^.txt/.bak/
Bs/txt/bak.txt/
Cs/txt$/bak.txt/
Ds/^txt$/.bak^/
Es/[.txt]/.bak$1/
Which of the following apt-get subcommands installs the newest versions of all currently installed packages?
Aauto-update
Bdist-upgrade
Cfull-upgrade
Dinstall
Eupdate
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
Ai (lowercase)
Bp (lowercase)
CP (uppercase)
DU (uppercase)
Eu (lowercase)
Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?
Alsattr foo
Bapropos foo
Clocate foo
Dwhatis foo
Ewhich foo
Question 6
GNU and Unix Commands
0
Question 7
GNU and Unix Commands
Question 8
GNU and Unix Commands
Question 9
GNU and Unix Commands
Question 10
Linux Installation and Package Management
Question 11
Shells and Shell Scripting
Question 12
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question 13
Administrative Tasks
Question 14
GNU and Unix Commands
Question 15
GNU and Unix Commands
Question 16
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question 17
GNU and Unix Commands
Question 18
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question 19
System Architecture
Question 20
GNU and Unix Commands
Question 21
Security
Question 22
GNU and Unix Commands
Question 23
GNU and Unix Commands
Question 24
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question 25
GNU and Unix Commands
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ad
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
What is the default nice level when a process is started using the nice command?
A-10
B0
C10
D15
E20
What is the output when the regular expression s/[ABC] [abc]/xx/ is applied to the following string?
ABCabc -
AABxxbc
BxxCxxc
Cxxxxxx
DABCabc
EAxxaxx
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
A-maxdepth
B-dirmax
C-maxlevels
D-s
E-n
If the gzip compressed tar archive texts.tgz contains the files a.txt and b.txt, which files will be present in the current directory after running gunzip texts.tgz?
AOnly a.txt, b.txt, and texts.tgz
BOnly texts.tar and texts.tgz
COnly a.txt.gz and b.txt.gz
DOnly a.txt and b.txt
EOnly texts.tar
FILL BLANK -
What directory contains configuration files for additional yum repositories? (Specify the full path to the directory.)
Which of the following files, located in a user's home directory, contains the Bash history?
A.bashrc_history
B.bash_histfile
C.history
D.bash_history
E.history_bash
What is contained on the EFI System Partition?
AThe Linux root file system
BThe first stage boot loader
CThe default swap space file
DThe Linux default shell binaries
EThe user home directories
A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?
AUsing lsmod --remove --autoclean without specifying the name of a specific module
BUsing modinfo -k followed by the name of the offending module
CUsing modprobe -r followed by the name of the offending module
DAdding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf
EDeleting the kernel module's directory from the file system and recompiling the kernel, including its modules
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remote that directory?
Armdir ~/\dir
Brmdir "~/\dir"
Crmdir ~/'dir'
Drmdir ~/\dir
Ermdir '~/\dir'
When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?
A-rep-space
B-printnul
C-nospace
D-ignore-space
E-print0
Which of the following files are found in the /boot/ file system? (Choose two.)
ALinux kernel images
BBash shell binaries
Csystemd target and service units
DInitial ramdisk images
Efsck binaries
Which of the following commands display the IDs of all processes owned by root? (Choose two.)
Apgrep -c root
Bpgrep -u root
Cpgrep -f root
Dpgrep -U 0
Epgrep -c 0
Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?
AXFS
BVFAT
Cext2
Dext3
Eext4
Which of the following statements are correct about the initial RAM disk involved in the boot process of Linux? (Choose two.)
AAn initramfs is a compressed file system archive, which can be unpacked to examine its contents.
BAn initramfs file contains the MBR, the bootloader and the Linux kernel.
CAfter a successful boot, the initramfs contents are available in /run/initramfs/.
DThe kernel uses the initramfs temporarily before accessing the real root file system.
EAn initramfs does not depend on a specific kernel version and is not changed after the initial installation.
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?
Afoo | less /tmp/foodata
Bfoo | cp /tmp/foodata
Cfoo > /tmp/foodata
Dfoo | tee /tmp/foodata
Efoo > stdout >> /tmp/foodata
Which of the following settings for umask ensures that new files have the default permissions -rw-r-----?
A0017
B0640
C0038
D0227
E0027
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose two.)
ACtrl XX
BCtrl :W
CEsc zz
DEsc :wq
EEsc ZZ
Which wildcards will match the following filenames? (Choose two.) ttyS0 ttyS1 ttyS2
AttyS[1-5]
Btty?[0-5]
Ctty*2
Dtty[A-Z][012]
Etty[Ss][02]
FILL BLANK -
Which file from the /proc/ file system contains a list of all currently mounted devices? (Specify the full name of the file, including path.)
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?