Basic Linux Quiz 1

Which command is used to check the IP Address ?

Use "ifconfig" command to check the IP Address of a Linux Operating System.

You want to install firefox in your Redhat Enterprise Linux Server. Which command you will choose to install the same from below options ?

Use "yum -y install firefox" command to install Firefox in Redhat Linux system.

Which command is used to check all installed packages in Redhat Linux ?

Use rpm -qa command to check all installed packages in Redhat Linux.

Which command is used to change permissions of files & directories in Linux ?

Use "chmod" command to change permissions of files & directories in Linux.

You have connected a USB drive in your Linux operating system. Which command you will use from below options to mount the USB drive ?

Use "mount" command to mount USB drive in your Linux Operating System.

Choose command from below options to check CPU information's.

Use "cat /proc/cpuinfo" command to check CPU information's

Which command is used to configure Software RAID in Linux Operating System ?

Use "mdadm" command to configure Software RAID in Linux Operating System.

You want to create a New user in Linux named 'helpdesk'. Which command you will use to create the user from below options ?

Use "useradd helpdesk" command to create a new user named 'helpdesk' in Linux.

Which command is used to list the hidden files & directories in Linux ?

Use "ls -a" command list hidden files & directories in Linux.

You have a ethernet connection i.e. "eth0" & you want to disable the that. Which command is used to disable your ethernet connection ?

Use "if down eth0" command to disable ethernet connection "eth0" in Linux.

Which file stores the Username & Password information's in Linux ?

"/etc/passwd" file stores the Username & Password information's in Linux.

You want to Reboot the system immediately without wasting a second. Which command you will use from below options ?

Use "shutdown -r now" command to Reboot the system immediately without wasting a second.

Which command is used to List Partitions in Linux ?

Use "fdisk -l" command to list partitions in Linux.

Which command is used to delete a directory Forcefully and Recursively in Linux ?

Use "rm -rf" command to delete a directory Forcefully and Recursively in Linux.

Which commansd is used to check inode number of a file named "file.txt" ?

Use "ls -i" command to check inode number of a file named "file.txt"