Basic of linux unix – MCQs

263 questions. Click to practice.

Correct options are highlighted when revealed.

1.Which command allows you to simultaneously save the output to a file and display it on the screen?

2.Which command allows you to retrieve information about your current user identity?

3.What is the octal value representing read and write permissions assigned to the file owner?

4.Which of the following commands is equivalent to chmod 761 note?

5.Which command pipeline correctly counts the total files present in the current directory?

6.Which command is utilized to send a file to the printer?

7.Which command displays details about every user currently logged into the system?

8.Which command correctly duplicates the file 'wb' from the 'programs' folder into the 'misc' folder while keeping the same filename?

9.Which command allows you to navigate to the parent directory (one level above the current directory)?

10.In the vi editor, which command allows you to substitute the character beneath the cursor with multiple characters?

11.Which one of the following commands is not considered a filter?

12.Which command allows you to view the current directory you are working in?

13.What function does the % key perform in cursor navigation?

14.Which flag should be included with the ps command to display the full command line of a running process?

15.Which character is utilized to divide multiple commands within a single command line?

16.Which command shows the properties of a directory itself instead of listing the files inside it?

17.Which command arranges the lines in a file in descending order?

18.Which command sets read-only permission for the user, group, and others on the file named 'letter'?

19.Who is credited with creating the Linux operating system?

20.Which command pipeline counts the total number of files in the current directory?