πŸ§ͺ Unix/Lunux MCQ Quiz Hub

Unix MCQS Set 3

Choose a topic to test your knowledge and improve your Unix/Lunux skills

ο»ΏWhich of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?





βœ… Correct Answer: 4

Which of the following commands is used to summarize the disk usage?





βœ… Correct Answer: 3

Which command is used to sort the lines of data in a file in alphabetical order?





βœ… Correct Answer: 1

If a file has read and write permissions for the owner, then the octal representation of the permissions will be





βœ… Correct Answer: 2

Which command is used to copy a file wb with the same name from the programs directory to the misc directory?





βœ… Correct Answer: 2

Which is the earliest and most widely used shell that came with the UNIX system?





βœ… Correct Answer: 3

The seventh field of /etc/password is





βœ… Correct Answer: 3

Which command is used to display the end of the file?





βœ… Correct Answer: 2

Which command is used to create a directory?





βœ… Correct Answer: 3

Which command is used to display the device name of the terminal you are using?





βœ… Correct Answer: 3

The ls -l command tells





βœ… Correct Answer: 4

Which of the following commands can be used to get information about all users who are currently logged into the system?





βœ… Correct Answer: 2

Which command is used to set the three permissions for all the three categories of users of a file?





βœ… Correct Answer: 3

Which of the following commands can be used to get information about yourself?





βœ… Correct Answer: 1

Which of the following commands can be used to get information about all users who are currently logged into the system?





βœ… Correct Answer: 2

Which of the following keys is used to overstrike a whole line?





βœ… Correct Answer: 1

Which command is used to locate all the .profile files in the system?





βœ… Correct Answer: 2