1.
Is Linux the same as UNIX?
Correct Answer
D. No, Linux is UNIX-like, but it was created by a college student from Finland.
Explanation
Linux is not the same as UNIX. Although Linux is UNIX-like in terms of its design and functionality, it was not derived from the original UNIX operating system. Instead, it was created by Linus Torvalds, a college student from Finland, as an open-source alternative to UNIX. While Linux shares many similarities with UNIX, they are distinct operating systems with different origins.
2.
What is a "Linux distribution" or distro?
Correct Answer
D. A particular assortment of applications installed on top of a set of libraries married with a version of the Linux kernel.
Explanation
A "Linux distribution" or distro refers to a particular assortment of applications that are installed on top of a set of libraries, which are combined with a specific version of the Linux kernel. This combination forms a complete operating system that is ready to be used by users. Different Linux distributions may have different pre-installed applications, configurations, and package management systems, catering to different user needs and preferences.
3.
Under which Distribution and version of Linux does the DSR 4.x software run?
Correct Answer
A. CentOS 6.3 64-bit
Explanation
The DSR 4.x software runs under the CentOS 6.3 64-bit distribution of Linux.
4.
Which command will show all the information about the currently running version of the Linux kernel?
Correct Answer
B. Uname -a
Explanation
The correct answer is "uname -a" because the "uname" command is used to display system information, and the "-a" option shows all available information about the kernel. This includes the kernel name, version, release, machine architecture, and other details. By running "uname -a" in the Linux terminal, you can obtain comprehensive information about the currently running version of the Linux kernel.
5.
Which command will list the contents of a directory, listed by file modification time, in reverse order (last modified file shows up at the bottom of a listing)?
Correct Answer
D. Ls -lart
Explanation
The command "ls -lart" will list the contents of a directory, listed by file modification time, in reverse order. The "-l" option will display the files in a long format, including the modification time, and the "-t" option will sort the files by modification time, with the most recently modified files appearing first. The "-r" option will reverse the order of the listing, so that the last modified file shows up at the bottom.
6.
Which command will list the mounted filesystems, with disk usage output in human-readable form (in MB, GB, etc.)?
Correct Answer
C. Df -kh
Explanation
The command "df -kh" will list the mounted filesystems with disk usage output in human-readable form. The "-k" option displays the sizes in kilobytes, and the "-h" option makes the sizes more readable by using units such as MB and GB.
7.
You try to ping a host on a different network and get a "Destination Network Unreachable"
Correct Answer
C. The network you are on has no route to the network you are trying to access.
Explanation
The correct answer is that the network you are on has no route to the network you are trying to access. This means that the network you are currently connected to does not have a path or routing information to reach the network you are attempting to ping. As a result, the destination network is unreachable from your current network.
8.
You are trying to umount (unmount) a directory, but keep receiving the error "Device or resource busy". Why might this be?
Correct Answer
D. Your current working directory is within the location that you are trying to umount.
Explanation
When trying to unmount a directory, the "Device or resource busy" error typically occurs when a process or application is still accessing files within that directory. If the current working directory is within the location being unmounted, it means that the shell or terminal is still using files within that directory, causing the error. To resolve this, change the current working directory to a different location before attempting to unmount the directory.
9.
For scp, what does the "-r" option do?
Correct Answer
B. Recursively copy entire directories.
Explanation
The "-r" option in scp stands for "recursive" and it allows the user to copy entire directories and their contents. This means that not only individual files will be copied, but also any subdirectories and their files within the specified directory. This option is useful when you need to transfer multiple files and maintain their directory structure on the destination system.
10.
What does the "lsof" command do?
Correct Answer
A. Displays a list of open files.
Explanation
The "lsof" command is used to display a list of open files. It provides information about files that are currently being accessed by processes on the system. This can be useful for troubleshooting purposes, as it allows users to identify which processes have certain files open. By displaying a list of open files, the "lsof" command helps users understand the current state of file access on their system.