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

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

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

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

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

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

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

  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

  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

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