Search

Linux Quiz 1

A quiz on linux Basics

A quiz on linux Basics

This is a quiz on basics of linux, have fun....
  1. What option of "ls" gives the listing according to the modified time

  2. t
    a
    l
    m

  3. In which folder of linux filesystem does ".." and "." point to the same folder

  4. /root
    /
    /bin
    None of the above

  5. The "-p" option of mkdir

  6. Creates a folder in the parent folder
    Creates parent as well as it subfolders at the same time
    Modifies the path of exiting folder
    Removes a folder

  7. Which option in "cat" adds line numbers to everyline in the output

  8. n
    l
    m
    a

  9. The /bin directory generally holds

  10. Softlinks
    Executables
    Hardlinks
    Text files

  11. The output of "pwd" is what kind of path

  12. Relative path
    Absolute Path
    Both
    Depends on folder

  13. Which of the following is not a type of linux shell

  14. crsh
    csh
    bash
    ksh

  15. ----- can change the password of a user

  16. Only the user
    The user and the root
    Only the root
    Any one

  17. The output of the command "tac <filename>" is

  18. The contents of the file in reverse
    Absolute path of the file
    Number of lines in the file
    Permissions of the file

  19. Which command changes the permissions of a file

  20. passwd
    perm
    chmod
    cmod

Feel free to contact me for any queries...

Answers to quiz can be found at : Answers to linux quiz-1

No comments:

Post a Comment