Home / CSE MCQs / C-MCQs :: Basic Linux

CSE MCQs :: C-MCQs

  1. Which command is used to extract a column from a text file
  2. A.
    paste
    B.
    get
    C.
    cut
    D.
    tar

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which command is used to display disk consumption of a specific directory
  4. A.
    du
    B.
    ds
    C.
    dd
    D.
    dds

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which command is used to perform backup in unix?
  6. A.
    backup
    B.
    cpio
    C.
    zip
    D.
    gzip

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which command creates an empty file if file does not exist?
  8. A.
    cat
    B.
    touch
    C.
    ed
    D.
    read

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which command is used to identify file type?
  10. A.
    Type
    B.
    File
    C.
    Finfo
    D.
    Info

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Command used to determine the path of an executable file is
  12. A.
    which
    B.
    where
    C.
    wexec
    D.
    what

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Command used to count number of character in a file is
  14. A.
    grep
    B.
    wc
    C.
    count
    D.
    cut

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of these commands could you use to show one page of output at a time?
  16. A.
    less
    B.
    sed
    C.
    pause
    D.
    grep

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which commands will give you information about how much disk space each file in the current directory uses?
  18. A.
    ls -l
    B.
    ls -la
    C.
    du
    D.
    ls -a

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following commands can be used to copy files across systems?
  20. A.
    ssh
    B.
    telnet
    C.
    rsh
    D.
    ftp

    View Answer

    Workspace

    Discuss Discuss in Forum