Home / CSE / Unix :: Section 1

CSE :: Unix

  1. The agency that sits between the user and the UNIX system is called the

  2. A.
    logic
    B.
    profile
    C.
    shell
    D.
    erxc
    E.
    None of the above

  3. Which of the following commands is used to update access and modification times of a file?

  4. A.
    grep
    B.
    wc
    C.
    touch
    D.
    cat
    E.
    None of the above

  5. Which command is used to count just the number of characters in a file?

  6. A.
    wc - 1
    B.
    wc -c
    C.
    wc -w
    D.
    wc -r
    E.
    None of the above

  7. Which of the following commands is used to list contents of directories?

  8. A.
    ls
    B.
    lp
    C.
    dir
    D.
    tar
    E.
    None of the above

  9. Which command is used to display a file contents in octal form?

  10. A.
    cd
    B.
    od
    C.
    of
    D.
    oct
    E.
    None of the above

  11. Which command will be used with vi editor to insert text to left of cursor?

  12. A.
    s
    B.
    S
    C.
    a
    D.
    i
    E.
    None of the above

  13. In vi editor, forward search is performed using the command.

  14. A.
    :pat
    B.
    ?pat
    C.
    /pat
    D.
    All of the above
    E.
    None of the above

  15. Which of the following special shell variables is used to process number of the last background job?

  16. A.
    $!
    B.
    $#
    C.
    $0
    D.
    $*
    E.
    None of the above

  17. Which option will be used with ps command to show the entire command line of the process being run?

  18. A.
    -4
    B.
    -f
    C.
    -1
    D.
    -2
    E.
    None of the above

  19. Which of the following command addresses all users who are currently hooked on?

  20. A.
    write
    B.
    mail
    C.
    wall
    D.
    mesg
    E.
    None of the above