1.
Who is the inventor of LINUX?
Correct Answer
B. Linus Torvalds
Explanation
Linus Torvalds is the inventor of Linux. He created the Linux operating system in 1991 as a free and open-source alternative to traditional Unix systems. Torvalds developed the Linux kernel, which serves as the core of the operating system, and he continues to be involved in its development and maintenance. His invention has had a significant impact on the technology industry, as Linux is widely used in various devices and systems today.
2.
You need to see the last fifteen lines of the
files dog, cat and horse. What command should you use?
Correct Answer
C. Tail -15 dog cat horse
Explanation
The correct answer is "tail -15 dog cat horse". The "tail" command is used to display the last part of a file. The "-15" flag specifies that we want to see the last 15 lines. By listing the file names "dog", "cat", and "horse" after the command, we are telling the command to display the last 15 lines of each of these files.
3.
Who owns the data dictionary?
Correct Answer
A. SYS
Explanation
The correct answer is SYS. In a database management system, the data dictionary is a collection of metadata that contains information about the structure, organization, and relationships of the database. The SYS user is a special user in Oracle databases that owns and manages the data dictionary. This user has the highest level of privileges and is responsible for maintaining the integrity and consistency of the database.
4.
You locate a command in the /bin directory but do not
know what it does. What command can you use to determine
its purpose.
Correct Answer
B. Whatis
Explanation
The "whatis" command can be used to determine the purpose of a command located in the /bin directory. It provides a brief description or summary of the command, allowing the user to understand its functionality without having to execute it.
5.
Vim has........
Correct Answer
B. 3 modes
6.
What account is created when you install Linux?
Correct Answer
C. Root
Explanation
When you install Linux, the "root" account is created. The root account is the superuser or administrator account that has complete control over the system. It has the highest level of privileges and can perform tasks that regular user accounts cannot. The root account is used for system administration and making critical changes to the operating system.
7.
By default linux has..........virtual consoles.
Correct Answer
B. 6
Explanation
By default, Linux has 6 virtual consoles. Virtual consoles are text-based interfaces that allow users to interact with the operating system. They can be accessed by pressing Ctrl + Alt + F1 to F6 on the keyboard. Each virtual console can be used for different purposes or tasks, providing users with multiple independent terminal sessions.
8.
Which command is true to create a file?
Correct Answer
D. Cat > file name
Explanation
The correct answer is "cat > file name". This command is used to create a file in Unix-like operating systems. The ">" symbol redirects the output of the "cat" command to a file with the specified name. This means that if the file already exists, it will be overwritten, and if it doesn't exist, a new file will be created.
9.
If you type the command cat dog & > cat what would you
see on your display?
Correct Answer
D. Nothing as all output is saved to the file cat.
Explanation
When the command "cat dog & > cat" is executed, it redirects the output of the command "cat dog" to a file named "cat" using the ">" symbol. The "&" symbol is used to run the command in the background. As a result, no output will be displayed on the screen, and all the output will be saved to the file named "cat". Therefore, the correct answer is "Nothing as all output is saved to the file cat."
10.
The easiest, most basic form of backing up a file is to
_____ it to another location.
Correct Answer
C. Copy
Explanation
The easiest and most basic form of backing up a file is to copy it to another location. This means creating an exact duplicate of the file and saving it in a different location, ensuring that even if the original file is lost or damaged, the copied version can be accessed and used.
11.
Which command should you use to check the inode number?
Correct Answer
B. Ls -i
Explanation
The correct answer is "ls -i". This command is used to list the inode number of files and directories in a directory. The "-i" option stands for "inode" and when used with the "ls" command, it displays the inode number along with the file or directory name. This is useful for identifying unique identifiers for files and directories in a filesystem.