Home / CSE / Unix :: Section 1

CSE :: Unix

  1. Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it

  2. A.
    -r
    B.
    -x
    C.
    -i
    D.
    -1
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which of the following directories contain all the Alias created by a user, including his login directory?

  4. A.
    /tmp
    B.
    /etc
    C.
    /usr
    D.
    /dev
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following commands is used to obtain a list of all files by modification time?

  6. A.
    ls -1
    B.
    ls -t
    C.
    ls -i
    D.
    ls -R
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. The % key allows you

  8. A.
    to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.
    B.
    to move the cursor to the upperleft corner of the screen
    C.
    to move the cursor backward to the beginning of a word
    D.
    to move the cursor to the first column in the current line
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which command is used to display the characteristics of a process?

  10. A.
    pid
    B.
    du
    C.
    ps
    D.
    au
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following commands is used to identify the type of file by context?

  12. A.
    ls
    B.
    cat
    C.
    file
    D.
    more
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. The field separator in cut command is specified with

  14. A.
    -a option
    B.
    -d option
    C.
    -r option
    D.
    -x option
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following options will be used to display number of blocks used by a file?

  16. A.
    -c
    B.
    -i
    C.
    -d
    D.
    -s
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which option will be used with touch command to change the access time?

  18. A.
    -a
    B.
    -b
    C.
    -t
    D.
    -h
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

  20. A.
    chmod -R a+x progs
    B.
    chmod -R 222 progs
    C.
    chmod -1 a+x progs
    D.
    chmod -x a+x progs
    E.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum