download Mastguru Android App

Linux Objective Questions Answers Online Quiz Test

  • 1. Which command in LINUX is concerned with backup ?

    1. tar
    2. zip
    3. cpio
    4. untar
  • 2. Which command changes a file's group owner

    1. chmod
    2. chgrp
    3. chown
    4. chgrep
  • 3. Which command is used to determine the path of an executable file ?

    1. which
    2. whom
    3. locate
    4. wex
  • 4. Which command can be used to know the present working directory ?

    1. psd
    2. pww
    3. pwd
    4. pdd
  • 5. By which command content of a file can be searched ?

    1. grep
    2. search
    3. srh
    4. show
  • 6. Default permissions of a file can be changed with ?

    1. group
    2. chperm
    3. chmod
    4. chall
  • 7. Which command output also contains userid ?

    1. la
    2. al
    3. ls -l
    4. al -l
  • 8. Which one shows the name of the operating system ?

    1. uname -n
    2. uname -l
    3. uname -m
    4. uname -o
  • 9. Which command gives the first byte where the difference is in the file1 & file2 ?

    1. diff
    2. differ
    3. cmp
    4. compare
  • 10. What communication command provides communication to another user logged on by writing to the bottom of their terminal ?

    1. chat
    2. talk
    3. write
    4. sendmsg
  • 11. Which command is used to set limits on file size ?

    1. ulimit
    2. alimit
    3. dlimit
    4. wlimit
  • 12. Which command is used to copy files ?

    1. cp
    2. copy
    3. mv
    4. move
  • 13. How many links are created when we create a directory file ?

    1. 1
    2. 2
    3. 3
    4. 4
  • 14. If two files on same partition point to the same inode structure they are called ?

    1. Soft links
    2. Hard links
    3. Copy links
    4. Similar links
  • 15. printer in the file structure can be found in ?

    1. /etc
    2. /html
    3. /www
    4. /dev
  • 16. Which LINUX command is used to update the modification time of a file ?

    1. UPDATE
    2. MODIFY
    3. TOUCH
    4. UNTOCUH
  • 17. Which is not a valid file type in LINUX ?

    1. Socket
    2. FIFO
    3. Softlink
    4. Inode
  • 18. All device files are stored in which directory ?

    1. /etc
    2. /dev
    3. /www
    4. /html
  • 19. What is true about chmod +t ?

    1. It will set effective userid for filename
    2. It will set effective groupid for filename
    3. It will set the sticky bit
    4. It is wrong syntax
  • 20. vi editor commands are not case sensitive.

    1. True
    2. False
Submit Quiz
Post a comment