1.
Which of the following commands archive contents of two or more files.
Correct Answer
A. Tar
Explanation
The correct answer is tar. Tar is a command-line utility in Unix-like operating systems that is used to create an archive file containing multiple files and directories. It allows for the compression and archiving of two or more files into a single file, commonly referred to as a tarball. This makes it easier to transfer or store multiple files together while preserving their directory structure.
2.
Which of the following choice refers to the hard disk.
Correct Answer(s)
A. /dav/hda1
B. /dav/sda1
Explanation
The choices "/dav/hda1" and "/dav/sda1" refer to the hard disk.
3.
Which command is used to see help on any command ?
Correct Answer
A. Man
Explanation
The correct answer is "man". The "man" command is used to see the manual or help documentation for any command in the terminal. It provides detailed information about the usage, options, and examples of the specified command, helping users understand and utilize the command effectively.
4.
-
To install Linux in text mode one has to type ________ at the bootup screen.
Correct Answer
A. Linux text
Explanation
To install Linux in text mode, one has to type "linux text" at the bootup screen. This command instructs the system to start the installation process in a text-based interface, without any graphical user interface. This mode is often preferred for advanced users or for systems with limited resources, as it consumes less memory and processing power compared to a graphical installation.
5.
-
what do the following command do # mount -t ext3 /dev/sda1 /mnt.
Correct Answer
A. Mount the first SCSI partition to /mnt directory with ext3 *
Explanation
The given command "mount -t ext3 /dev/sda1 /mnt" mounts the first SCSI partition, which is /dev/sda1, to the /mnt directory with the ext3 filesystem. This means that the contents of the partition will be accessible and usable through the /mnt directory.
6.
Which of the following are two types of link ?
Correct Answer(s)
A. Hard link
C. Symbolic link
Explanation
A hard link is a type of link that directly points to the physical location of a file on the storage device. It creates a new reference to the same file, allowing multiple filenames to access the same content. On the other hand, a symbolic link is a special type of file that acts as a shortcut or pointer to another file or directory. It contains the path to the target file or directory, allowing easy access to it. Therefore, both hard link and symbolic link are types of links that serve different purposes in file systems.
7.
Which of the following command is used to shut down the system.
Correct Answer
A. Init 0
Explanation
The command "init 0" is used to shut down the system. The "init" command is used to change the system's runlevel, and the number after "init" specifies the desired runlevel. In this case, "0" represents the runlevel for system shutdown. By executing "init 0", the system will initiate the shutdown process and power off.
8.
Which is the system file which deals with Runlevels of linux OS.
Correct Answer
C. /etc/inittab.conf
Explanation
The correct answer is /etc/inittab.conf. This file is responsible for managing the runlevels of the Linux operating system. Runlevels are different modes or states in which a system can operate, such as single-user mode or multi-user mode. The /etc/inittab.conf file contains the configuration settings for each runlevel, including the actions to be taken when entering or exiting a specific runlevel. This file is read by the init process during system startup to determine the default runlevel and initialize the system accordingly.
9.
The file used to permanent mount point of any file system.
Correct Answer
C. /etc/fstab
Explanation
The correct answer is /etc/fstab. This file is used to permanently mount the file system at a specific mount point. It contains information about the file systems that are to be mounted at boot time, including the device to mount, the mount point, the file system type, and other options. It is read by the system during the boot process to mount the specified file systems. The other options listed (/etc/inittab and /etc/mount) are not specifically used for mounting file systems.
10.
IDE hard disk are detected in Linux as.
Correct Answer(s)
C. /dev/hda
D. /dev/hdb
Explanation
IDE hard disks are detected in Linux as /dev/hda and /dev/hdb. The /dev/hda represents the primary IDE hard disk, while /dev/hdb represents the secondary IDE hard disk. This naming convention allows the Linux operating system to identify and access the different IDE hard disks connected to the system.
11.
Which of the following is a journaling file system.
Correct Answer
D. Ext3
Explanation
ext3 is a journaling file system. Journaling file systems are designed to minimize the risk of data loss in the event of a system crash or power failure. They do this by keeping a log, or journal, of changes that are going to be made to the file system before actually committing them. This allows for faster recovery and reduces the chances of data corruption. ext3 is an extension of the ext2 file system, adding journaling capabilities to enhance reliability and data integrity.
12.
By using ---------- command, one can create several empty files at a time.
Correct Answer
C. Touch
Explanation
The correct answer is touch. The touch command in a Unix-like operating system is used to create empty files. By using the touch command with multiple file names as arguments, one can create several empty files at a time.
13.
Who created the first Linux kernel.
Correct Answer
A. Linus Torvalds
Explanation
Linus Torvalds is credited with creating the first Linux kernel. He developed it as a hobby project in 1991 and released it as an open-source operating system. The Linux kernel became widely popular due to its stability, flexibility, and compatibility with various hardware platforms. Linus Torvalds' contribution to the development of the Linux kernel has had a significant impact on the world of technology, leading to the widespread use of Linux-based systems in various industries and sectors.
14.
/etc/shares is the file that identifies NFS shares.
Correct Answer
B. False
Explanation
The given statement is false. The file that identifies NFS shares is not /etc/shares. The correct file is typically /etc/exports.
15.
Which of the following are primary Red Hat Linux desktop environments.
Correct Answer(s)
C. GNOME
D. KDE
Explanation
The primary Red Hat Linux desktop environments are GNOME and KDE. These two desktop environments are widely used and supported by Red Hat. GNOME is known for its user-friendly interface and modern design, while KDE offers a more customizable and feature-rich experience. Both environments provide a range of applications and tools to enhance the user's productivity and overall desktop experience.
16.
___________ Command is used to start X-Windows.
Correct Answer(s)
B. Init 5
C. Startx
Explanation
The correct answers for this question are "init 5" and "startx". The "init 5" command is used to switch to runlevel 5, which is the runlevel for starting X-Windows. The "startx" command is also used to start X-Windows. Both commands initiate the graphical user interface in Linux.
17.
Following are valid directories in Linux. (Select Three).
Correct Answer(s)
C. /bin/linux
D. /home/linux
E. /root/linux
Explanation
The correct answer is /bin/linux, /home/linux, and /root/linux. In Linux, directories are represented by a forward slash (/) at the beginning. The /bin directory is a standard directory in Linux where essential binary files are stored. The /home directory is where user home directories are located. The /root directory is the home directory for the root user. The other options, C:\linux and d:/linux, are not valid directories in Linux as they use a different file system format (Windows).
18.
Vim stands for.
Correct Answer
C. Vi improved
Explanation
Vim stands for "Vi improved". Vi is a popular text editor that was developed in the 1970s, and Vim is an enhanced version of Vi. Vim includes additional features and improvements over the original Vi editor, making it a more powerful and versatile tool for editing text. Therefore, the correct answer is "Vi improved".
19.
Which of the following text console are used in linux by default.
Correct Answer(s)
A. CTL-ALT-F1
B. CTL-ALT-F7
C. CTL-ALT-F3
D. CTL-ALT-F5
Explanation
The text consoles used in Linux by default are CTL-ALT-F1, CTL-ALT-F7, CTL-ALT-F3, and CTL-ALT-F5.
20.
Following are commands related to files & directories.
Correct Answer(s)
A. Chown
B. Chmod
Explanation
The commands "chown" and "chmod" are related to files and directories. "chown" is used to change the ownership of a file or directory, allowing a user or group to have control over it. "chmod" is used to change the permissions of a file or directory, determining who can read, write, or execute it. Therefore, both "chown" and "chmod" are relevant commands in managing files and directories.
21.
___________ the command used to create a directory.
Correct Answer
D. Mkdir
Explanation
The correct answer is "mkdir". This command is used to create a directory in a file system.
22.
Root password can not be changed.
Correct Answer
B. False
Explanation
The statement "Root password can not be changed" is incorrect. The root password can be changed by the system administrator or the root user themselves. The root user has the highest level of privileges in a Unix-like operating system and can modify any aspect of the system, including changing the root password. Therefore, the correct answer is False.
23.
LILO is a boot loader for Linux.
Correct Answer
A. True
Explanation
LILO, which stands for Linux Loader, is indeed a boot loader for Linux. It is one of the oldest boot loaders used for Linux distributions. LILO is responsible for loading the Linux kernel into memory and initiating the boot process. It allows users to choose which operating system or kernel they want to boot into when their computer starts up. Unlike other boot loaders, LILO has a simpler configuration and does not support some advanced features, but it is still widely used on older systems or in certain situations where its simplicity is preferred.
24.
Boot loader for linux is ntldr.
Correct Answer
B. False
Explanation
The given statement is false. The boot loader for Linux is not ntldr. The correct boot loader for Linux is GRUB (Grand Unified Bootloader). GRUB is a widely used boot loader in the Linux ecosystem that is responsible for loading the Linux kernel and initiating the boot process.
25.
Using chmod command one can set rights for users on a file.
Correct Answer
A. True
Explanation
The statement is true because the chmod command in Unix-like operating systems is used to change the permissions or access rights of a file or directory. It allows the user to specify different permissions for the owner, group, and others, such as read, write, and execute permissions. By using the chmod command, users can control who can access and modify a file, ensuring the security and privacy of their data.
26.
Linux file system begins with ________.
Correct Answer
D. /
Explanation
The correct answer is "/". In Linux, the file system begins with the root directory, which is represented by the forward slash symbol ("/"). This root directory is the top-level directory from which all other directories and files are organized and accessed.
27.
Which of the following server types can host a network installation.
Correct Answer(s)
A. Ftp
B. Nfs
D. Http
Explanation
The server types ftp, nfs, and http can host a network installation. FTP (File Transfer Protocol) is commonly used for transferring files over the internet and can be used to host a network installation. NFS (Network File System) allows for remote file access and can also be used to host a network installation. HTTP (Hypertext Transfer Protocol) is the protocol used for transferring data over the internet and can be used to host a network installation as well. Samba, on the other hand, is a protocol used for file and printer sharing between Windows and Unix systems and is not typically used for hosting network installations.
28.
Which of the following is the file that identifies NFS shares.
Correct Answer
A. /etc/exports
Explanation
The correct answer is /etc/exports. This file is used to configure NFS (Network File System) shares on a server. It contains a list of directories that are shared with remote clients and specifies the permissions and access rights for each share. By editing this file, administrators can control which directories are accessible over the network and to whom. The other options (/etc/nfs.conf, /etc/nfs/nfs.conf, /etc/shares) are not specifically used for identifying NFS shares.
29.
Which of the following runlevels corresponds to multiuser operation without networking
Correct Answer
B. 2
Explanation
Runlevel 2 corresponds to multiuser operation without networking. In Unix-like operating systems, runlevels are predefined operating states that determine which processes and services are running. Runlevel 2 is typically used for a multiuser system without networking, where multiple users can log in and use the system, but networking services are not active. This runlevel is often used in situations where network connectivity is not required or is disabled, such as on a standalone desktop computer or a server that does not need network access.
30.
Which command is used to restore files from a compressed backup.
Correct Answer
B. Tar -xvf
Explanation
The command "tar -xvf" is used to restore files from a compressed backup. The "tar" command is used for archiving files, and the "-x" option is used to extract files from an archive. The "v" option is used for verbose output, displaying the progress of the extraction process. Finally, the "f" option is used to specify the name of the archive file. Therefore, "tar -xvf" is the correct command to restore files from a compressed backup.
31.
Which command is used to create a linux file system.
Correct Answer
A. Fdisk
Explanation
The fdisk command is used to create, modify, and delete partitions on a hard disk. However, it is not used to create a Linux file system. To create a Linux file system, the mkfs command is used. Therefore, the correct answer is not fdisk.
32.
To list the existing partitions of the local hard drives which of the following should be issued.
Correct Answer
B. Fdisk -l
Explanation
The correct answer is "fdisk -l". This command is used to list the existing partitions of the local hard drives. The "-l" option stands for "list" and it provides a detailed output of the partitions on the system. The other options mentioned in the question, such as "-p", "-lp", and "-r", are not valid options for the fdisk command.
33.
Different mount points of the file systems are.
Correct Answer
B. /boot
Explanation
The correct answer is /boot. This is because /boot is a mount point for the file system that contains the boot loader files and the kernel. It is typically a separate partition from the root file system and is used during the boot process to load the operating system.
34.
Which command discover what file-system are exported by a remote server for NFS.
Correct Answer
B. Showmount
Explanation
The correct answer is "showmount." The showmount command is used to discover what file-systems are exported by a remote server for NFS (Network File System). It displays a list of all the shared file systems on the remote server. This command is helpful in identifying the available file systems that can be accessed over the network using NFS.
35.
What is NFS means.
Correct Answer
B. Network file system
Explanation
NFS stands for Network File System. It is a distributed file system protocol that allows a user on a client computer to access files over a computer network as if they were on the local storage. It enables file sharing between different operating systems and provides transparent access to remote files. NFS is widely used in UNIX and Linux environments for sharing files and resources among multiple computers in a network.
36.
Meaning of /dev/sdb5 is.
Correct Answer
B. First logical partition on second SCSI hard disk.
Explanation
The correct answer is "First logical partition on second SCSI hard disk." This is because the "/dev/sdb5" refers to the device file for the fifth partition on the second SCSI hard disk. In the naming convention for device files, "sdb" represents the second SCSI hard disk, and "5" indicates that it is the fifth partition. Since it is a logical partition, it means that it is a subpartition within an extended partition on the second SCSI hard disk.
37.
The sequence for the crontab file format is.
Correct Answer
B. Minute Hour Day of Month Month Day of Week command
Explanation
The correct sequence for the crontab file format is "Minute Hour Day of Month Month Day of Week command". This means that the cron job will be executed at a specific minute, hour, day of the month, month, and day of the week according to the given command.
38.
Linux is Case insensitive Operating System.
Correct Answer
A. True
Explanation
Linux is a case-insensitive operating system, meaning that it does not differentiate between uppercase and lowercase letters when it comes to file names or commands. This means that "file.txt" and "File.txt" would be considered the same file in Linux. This feature makes it easier for users to navigate and work with files and commands, as they do not have to remember or type in specific capitalization.
39.
Samba is used for.
Correct Answer
A. Sharing resources from a linux machine to a windows machine
Explanation
Samba is a software suite that allows for interoperability between Linux and Windows systems. It enables sharing resources, such as files and printers, from a Linux machine to a Windows machine. This means that users on the Windows machine can access and use the shared resources on the Linux machine seamlessly. Samba achieves this by implementing the SMB/CIFS protocol, which is the standard file sharing protocol used by Windows. Therefore, the correct answer is sharing resources from a Linux machine to a Windows machine.
40.
Swap space is typically double that of physical RAM.
Correct Answer
A. True
Explanation
Swap space is a portion of a computer's hard drive that is used as virtual memory when the physical RAM is full. It allows the operating system to temporarily store data that is not actively being used. In order to ensure efficient performance, it is recommended to have swap space that is at least equal to the amount of physical RAM. However, it is common practice to have swap space that is double the size of physical RAM to provide additional flexibility and support for memory-intensive tasks. Therefore, the statement that swap space is typically double that of physical RAM is true.
41.
The file related to Ethernet LAN Card is.
Correct Answer
A. /etc/sysconfig/network-scripts/ifcfg-eth0
Explanation
The correct answer is /etc/sysconfig/network-scripts/ifcfg-eth0. This file is related to the Ethernet LAN Card configuration on the system. It is located in the /etc/sysconfig/network-scripts directory and contains the network settings for the eth0 interface, such as IP address, subnet mask, gateway, and other network parameters.
42.
To view utilize & free harddisk space command is df –h.
Correct Answer
A. True
Explanation
The given statement is true. The command "df -h" is used to view the utilization and free space of the hard disk. The "-h" option is used to display the output in a human-readable format, showing the sizes in a more understandable way (e.g., displaying sizes in gigabytes instead of bytes). Therefore, the statement is correct.
43.
Virtual terminals are.
Correct Answer
B. Tty
Explanation
The correct answer is "tty". Virtual terminals are represented by the "tty" device file in Unix-like operating systems. These virtual terminals allow users to interact with the system through a command-line interface. The "tty" device file is located in the "/dev" directory and is used to manage input and output to the terminal.
44.
/temp contains system configuration files.
Correct Answer
B. False
Explanation
The statement "temp contains system configuration files" is false. The "temp" directory is typically used for temporary files and does not typically contain system configuration files.
45.
What is the difference between windows operating system & linux operating system.
46.
What is the difference between EXT2 file system & EXT3 file system.
47.
What is the difference between GRUB boot loader & lilo boot loader.
48.
Create default directory structure of windows operating system.
49.
Create default directory structure of REDHAT NETWORK operating system.
50.
Which permission means the file can be edited and saved.
Correct Answer
B. Write
Explanation
The permission "write" means that the file can be edited and saved. This permission allows the user to make changes to the content of the file and save those changes. Without the write permission, the file would be read-only and any attempts to edit or save changes would be denied.