logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

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


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

  • Correct Answer
  • $! 


  • Unix problems


    Search Results


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

    • Options
    • 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
    • Discuss
    • 2. Which command is used to display a file contents in octal form?

    • Options
    • A. cd
    • B. od
    • C. of
    • D. oct
    • E. None of the above
    • Discuss
    • 3. Which option will be used with ps command to slow the entire command line of the process being run?

    • Options
    • A. -4
    • B. -f
    • C. -1
    • D. -2
    • E. None of the above
    • Discuss
    • 4. Which of the following options will be used to display number of blocks used by a file?

    • Options
    • A. -c
    • B. -i
    • C. -d
    • D. -s
    • E. None of the above
    • Discuss
    • 5. The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:

    • Options
    • A. 000
    • B. 755
    • C. 744
    • D. 555
    • E. None of the above
    • Discuss
    • 6. Which of the following commands is used to identify the type of file by context?

    • Options
    • A. ls
    • B. cat
    • C. file
    • D. more
    • E. None of the above
    • Discuss
    • 7. In vi editor, forward search is performed using the command.

    • Options
    • A. :pat
    • B. ?pat
    • C. /pat
    • D. All of the above
    • E. None of the above
    • Discuss
    • 8. Which of the following commands is used to update access and modification times of a file?

    • Options
    • A. grep
    • B. wc
    • C. touch
    • D. cat
    • E. None of the above
    • Discuss
    • 9. Which option will be used with touch command to change the access time?

    • Options
    • A. -a
    • B. -b
    • C. -t
    • D. -h
    • E. None of the above
    • Discuss
    • 10. Which of the following command addresses all users who are currently hooked on?

    • Options
    • A. write
    • B. mail
    • C. wall
    • D. mesg
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment