Linux shell commands

Linux Commands

1. To display the list of files and directories, _________ Linux command is used.

... Answer is A) ls

2. ________ Linux command creates a new directory.

... Answer is C) mkdir

3. _________ Linux command removes given directory.

... Answer is D) rmdir

4. _________ Linux command changes the access mode of a file.

... Answer is B) chmod

5. The numeric value of read permission is __________.

... Answer is A) 4

6. The numeric value of write permission is ________.

... Answer is B) 2

7. In Linux, the numeric value of execute permission is _______.

... Answer is C) 1

8. In Linux, a file having read and write permissions would have a numeric value of _____ as argument to chmod.

... Answer is A) 6

9. In Linux, a file having read only permissions would have a numeric value of ________ as argument to chmod.

... Answer is C) 4

10. In Linux, a file having read, write and execute permissions would have a numeric value of _______ as argument to chmod.

... Answer is B) 7

11. In Linux, a file having read and execute permissions would have a numeric value of ______ as argument to chmod.

... Answer is D) 5

12. In Linux, access permission meant for ______.

... Answer is D) all of them

13. In Linux, first value of permission provided to chmod command is meant for ______.

... Answer is A) user

14. In Linux, second value of permission provided to chmod command is meant for _______.

... Answer is B) group

15. In Linux, third value of permission provided to chmod command is meant for ________.

... Answer is C) world

16. Any person unrelated to the current user or the group of the current user is treated with __________ permissions

... Answer is C) world

17. _________ Linux command creates a copy of given file in new name.

... Answer is A) cp

18. _________ Linux command creates a link to the current file (not a full copy of the file).

... Answer is B) ln

19. Linux command deletes the source file and creates copy of the source file in a new name.

... Answer is C) mv

20. __________ Linux command helps user to change current working directory.

... Answer is D) cd

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