Home / CSE MCQs / Linux MCQs :: Basic Linux

CSE MCQs :: Linux MCQs

  1. Which command is used to record a user login session in a file
  2. A.
    macro
    B.
    read
    C.
    script
    D.
    none of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which command is used to display the operating system name
  4. A.
    os
    B.
    Unix
    C.
    kernel
    D.
    uname

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which command is used to display the unix version
  6. A.
    uname -r
    B.
    uname -n
    C.
    uname -t
    D.
    kernel

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which command is used to print a file
  8. A.
    print
    B.
    ptr
    C.
    lpr
    D.
    none of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Using which command you find resource limits to the session?
  10. A.
    rlimit
    B.
    ulimit
    C.
    setrlimit
    D.
    getrlimit

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. find / -name '*' will
  12. A.
    List all files and directories recursively starting from /
    B.
    List a file named * in /
    C.
    List all files in / directory
    D.
    List all files and directories in / directory

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which command is used to display the octal value of the text
  14. A.
    octal
    B.
    text_oct
    C.
    oct
    D.
    od

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which command is used to view compressed text file contents
  16. A.
    cat
    B.
    type
    C.
    zcat
    D.
    print

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which command changes a file's group owner
  18. A.
    cgrp
    B.
    chgrp
    C.
    change
    D.
    group

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which command is used to extract intermediate result in a pipeline
  20. A.
    tee
    B.
    extract
    C.
    exec
    D.
    none of the above

    View Answer

    Workspace

    Discuss Discuss in Forum