SIMULATION
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
Which of the following commands updates the linker cache of shared libraries?
A. mkcache
B. soconfig
C. mkldconfig
D. lddconfig E. ldconfig
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. -dirmax
B. -maxdepth
C. -maxlevels
D. -n
E. -s
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
A. 9
B. 19
C. 49
D. 99
What is the default nice level when a process is started using the nice command?
A. -10
B. 10
C. 20
D. 0
Which of the following shell redirections will write standard output and standard error output to a file named filename?
A. 2>and1 >filename
B. >filename 2>and1
C. 1>and2>filename
D. >>filename
E. 1and2>filename
What happens after issuing the command vi without any additional parameters?
A. vi starts and loads the last file used and moves the cursor to the position where vi was when it last exited.
B. vi starts and requires the user to explicitly either create a new or load an existing file.
C. vi exits with an error message as it cannot be invoked without a file name to operate on.
D. vi starts in command mode and opens a new empty file.
E. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.
Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?
A. 0017
B. 0640
C. 0038
D. 0027
Which of the following are modes of the vi editor? (Choose two.)
A. edit mode
B. insert mode
C. change mode
D. review mode
E. command mode
What does the command grub-install /dev/sda do?
A. GRUB creates partitions on the device /dev/sda to be used with Linux.
B. GRUB sets the default BIOS boot device to /dev/sda.
C. GRUB installs all required files and configures the boot loader on device /dev/sda.
D. GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device /dev/sda.