Which of the following commands is used to change options and positional parameters for a runningBash?
A. history
B. set
C. bashconf
D. setsh
E. envsetup
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and withoutany trailing spaces, is reached?
A. <<
B. <|
C. !<
D. and<
Which of the following commands prints a listof usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
A. fmt -f 1,4 /etc/passwd
B. split -c 1,4 /etc/passwd
C. cut -d : -f 1,4 /etc/passwd
D. paste -f 1,4 /etc/passwd
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)
A. 0077, 077
Which of the following programs can be used to determine the routing path to a given destination?
A. dig
B. netstat
C. ping
D. route
E. traceroute
Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)
A. /etc/cups, /etc/cups/
Which of the following commands puts the output of the command date into the shell variable mydate?
A. mydate="$(date)"
B. mydate="exec date"
C. mydate="$((date))"
D. mydate="date"
E. mydate="${date}"
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
A. File size
B. Modify timestamp
C. Link count
D. Inode number
E. Permissions
Which file should be edited to select the network locations from which Debian installation package files are loaded?
A. /etc/dpkg/dpkg.cfg
B. /etc/apt/apt.conf
C. /etc/apt/apt.conf.d
D. /etc/apt/sources.list
E. /etc/dpkg/dselect.cfg
Which of the following is correct when talking about mountpoints?
A. Every existing directory can be used as a mount point.
B. Only empty directories can be used as a mount point.
C. Directories need to have the SetUID flag set to be used as a mount point.
D. Files within a directory are deleted when the directory is used as a mount point.