Unix-4

10 Questions | Total Attempts: 219

SettingsSettingsSettings
Please wait...
Unix Quizzes & Trivia

Questions and Answers
  • 1. 
    Which command is used to display the characteristics of a process?
    • A. 

      Pid

    • B. 

      Du

    • C. 

      Ps

    • D. 

      Au

    • E. 

      None of the above

  • 2. 
    Which of the following commands is used to identify the type of file by context?
    • A. 

      Ls

    • B. 

      Cat

    • C. 

      File

    • D. 

      More

    • E. 

      None of the above

  • 3. 
    The filed separator in cut command is specified with
    • A. 

      -a option

    • B. 

      -d option

    • C. 

      -r option

    • D. 

      -x option

    • E. 

      None of the above

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

      -c

    • B. 

      -i

    • C. 

      -d

    • D. 

      -s

    • E. 

      None of the above

  • 5. 
    Which option will be used with touch command to change the access time?
    • A. 

      -a

    • B. 

      -b

    • C. 

      -t

    • D. 

      -h

    • E. 

      None of the above

  • 6. 
    Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
    • 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

  • 7. 
    Which command is used to display and create files?
    • A. 

      Cat

    • B. 

      Vi

    • C. 

      Ed

    • D. 

      Lyrix

    • E. 

      None of the above

  • 8. 
    The second set of the three permissions (r-) indicates that
    • A. 

      Group has read permission only

    • B. 

      Other has read permission only

    • C. 

      Owner has read permission only

    • D. 

      Group has write permission only

    • E. 

      None of the above

  • 9. 
    Which column contains all details of the permissions of a file when you issue the ls -l command?
    • A. 

      Second

    • B. 

      Fourth

    • C. 

      Third

    • D. 

      First

    • E. 

      None of the above

  • 10. 
    Which command is used to terminate a process?
    • A. 

      Shutdown

    • B. 

      Haltsys

    • C. 

      Cancel

    • D. 

      Kill

    • E. 

      None of the above