Home / Computer Science / Unix & Linux Basics :: section-1

Computer Science :: Unix & Linux Basics

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

  2. A.

     write

    B.

     mail

    C.

     wall

    D.

     mesg

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  4. A.

     -r

    B.

     #NAME?

    C.

     #NAME?

    D.

     -1

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  6. A.

     /tmp

    B.

     /etc

    C.

     /usr

    D.

     /dev

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  8. A.

     ls -1

    B.

     ls -t

    C.

     ls -i

    D.

     ls -R

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. The % key allows you

  10. 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


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

  12. A.

     pid

    B.

     du

    C.

     ps

    D.

     au

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  14. A.

     ls

    B.

     cat

    C.

     file

    D.

     more

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. The field separator in cut command is specified with

  16. A.

     #NAME?

    B.

     #NAME?

    C.

     -r option

    D.

     #NAME?

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  18. A.

     -c

    B.

     #NAME?

    C.

     #NAME?

    D.

     #NAME?

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  20. A.

     #NAME?

    B.

     #NAME?

    C.

     #NAME?

    D.

     #NAME?

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum