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

CSE MCQs :: C-MCQs

  1. To open a file file1 with cursor at line number 4
  2. A.
    vi +num file1
    B.
    vi +set num file1
    C.
    vi + set num" file1
    D.
    vi +/se nu file1

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. sed is a command typically used for
  4. A.
    Perform complex calculations
    B.
    Perform FIFO based non-blocking I/O
    C.
    Modify/print selective contents of a file
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What communication command provides communication to another user logged on by writing to the bottom of their terminal?
  6. A.
    talk
    B.
    write
    C.
    chat
    D.
    transmit

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which screen manipulation command sets the screen back to normal?
  8. A.
    tput cup
    B.
    tput smso
    C.
    tput rmso
    D.
    tput blink

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which command will you use to see the available routes?
  10. A.
    show route
    B.
    route status
    C.
    netstat -r
    D.
    none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following time stamps need not exist for a file on traditional unix file system
  12. A.
    Access Time
    B.
    Modification Time
    C.
    Creation Time
    D.
    Change Time

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which command is used to set limits on file size
  14. A.
    fsize
    B.
    flimit
    C.
    ulimit
    D.
    usize

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which represents the user home directory
  16. A.
    /
    B.
    .
    C.
    ..
    D.
    ~

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. If a file is removed in Unix using 'rm' then
  18. A.
    The file can be recovered by a normal user
    B.
    The file cannot be recovered by a user
    C.
    The file can be fully recovered provided the sytem is not rebooted
    D.
    The file will be moved to /lost+found directory and can be recovered only by administrator's intervention

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Executing the 'cd ..' command when at the root level causes
  20. A.
    Error message indicating the user can't access beyond the root level
    B.
    Behavior is unix-flavor dependent
    C.
    Results in changing to the 'home' directory
    D.
    Nothing happens

    View Answer

    Workspace

    Discuss Discuss in Forum