Which of the following permissions are set on the /tmp/ directory?
A. rwxrwxrwt
B. ------rwX
C. rwSrw-rw-
D. rwxrwS--
E. r-xr-X--t
Which of the following characters in a shell prompt indicates the shell is running with root privileges?
A. !
B. #
C. *
D. and
E. $
Which of the following directories contains information, documentation and example configuration files for installed software packages?
A. /usr/share/doc/
B. /etc/defaults/
C. /var/info/
D. /doc/
E. /usr/examples/
Which of the following DNS record types hold an IP address? (Choose two.)
A. NS
B. AAAA
C. MX
D. A
E. CNAME
Which of the following devices represents a hard disk partition?
A. /dev/ttyS0
B. /dev/sata0
C. /dev/part0
D. /dev/sda2
E. /dev/sda/p2
Which files are the source of the information in the following output? (Choose two.) uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989 (docker), 1001 (libvirt)
A. /etc/id
B. /etc/passwd
C. /etc/group
D. /home/index
E. /var/db/users
What is the return value of a shell script after successful execution?
A. 1
B. 0
C. -1
D. -255
E. 255
Which of the following statements are true regarding a typical shell script? (Choose two.)
A. It has the executable permission bit set.
B. It starts with the two character sequence #!.
C. It is located in /usr/local/scripts/.
D. It is located in /etc/bash/scripts/.
E. It is compiled into a binary file compatible with the current machine architecture.
Which of the following commands extracts the contents of the compressed archive file1.tar.gz?
A. tar -czf file1.tar.gz
B. ztar file1.tar.gz
C. tar -xzf file1.tar.gz
D. tar --extract file1.tar.gz
E. detar file1.tar.gz
Which of the following Linux Distributions is derived from Red Hat Enterprise Linux?
A. Raspbian
B. openSUSE
C. Debian
D. Ubuntu
E. CentOS