On This Page

This set of Linux Multiple Choice Questions & Answers (MCQs) focuses on Linux Set 1

Q1 | Maximum how long can a Linux filename be?
Q2 | Which combination of keys is used to exit from terminal?
Q3 | Which command(s) is/are used to get help about a command in Linux?
Q4 | Which command is used to get the kernel version in Linux?
Q5 | Which command is used to list all the files in your current directory(including hidden)?
Q6 | Which command is/are used to remove directory in Linux?
Q7 | Which of the following command is used to create file in Linux?
Q8 | In Linux everything stored as a
Q9 | Which of the following command can be used as an alternative to echo command?
Q10 | Which command is used see the list of users who are currently logged-in?
Q11 | Which directory in Linux contains all the config file of the system?
Q12 | Which of the following command is used to count number of lines in a file?
Q13 | Which command is used to copy entire directory?
Q14 | Which special character should be avoided during naming a file?
Q15 | Suppose I am in /etc directoy, after executing cd .(single dot), where am I now?
Q16 | mv command can be used to ?
Q17 | Which command is used to print the login shell of an user?
Q18 | which command is used to print the current working direcotry?
Q19 | Which command is used to set terminal IO characteristic?
Q20 | Which option of ls command used to view file inode number
Q21 | Which directory contains all the files needed to boot the Linux system?
Q22 | What is the right command to save file and exit in Vim?
Q23 | Which of the following is not an editor?
Q24 | In a date +format, you add the hour in 24 hours format using:
Q25 | What command is used with vi editor to delete a single character?