Linux shell commands Section 3

Linux Commands | Section 3

1. ________ Linux command displays the output of program in readable chunks.

... Answer is C) both a & b

2. ________ Linux command searches for a given file and optionally executes given command on that file.

... Answer is B) find

3. ________ Linux command removes given file.

... Answer is C) rm

4. ________ Linux command creates a large banner out of given text.

... Answer is A) banner

5. _________ Linux command displays contents of text file on screen.

... Answer is D) cat

6. The command cat − > fl.txt stores keyboard input to a new file named ________.

... Answer is B) fl.txt

7. The command cat − >> fl.txt appends keyboard input to a new file named _________.

... Answer is B) fl.txt

8. In Linux, − symbol denotes the ________.

... Answer is A) standard input (keyboard)

9. In Linux, __________ command displays the current date and time.

... Answer is B) date

10. In Linux, __________ command displays help about given command (manual page).

... Answer is D) man

11. In Linux, _________ command displays time taken by a process to complete.

... Answer is A) time

12. In Linux, __________ command invokes text editors.

... Answer is D) all of them

13. In Linux, _________command compiles a C-language file to binary output.

... Answer is A) cc

14. In Linux, ________ command adds a new user.

... Answer is B) useradd

15. In Linux, _________ command deletes a new user.

... Answer is C) userdel

16. In Linux, _________ command changes password for given user.

... Answer is D) passwd

17. In Linux, ________ command takes normal user to super user mode.

... Answer is A) su

18. In Linux, _________ command helps a normal user to execute given command with root privileges.

... Answer is A) sudo

19. In Linux, ________ command displays calendar.

... Answer is B) cal

20. In Linux, _________command displays binary calculator in the terminal.

... Answer is C) bc

Section 1 Section 2 Section 3 Section 4

Post a Comment

If you have any doubts,Please let me know

Previous Post Next Post
close