logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which of the following shell's wildcards are used to match any number of characters including none?


  • Options
  • A. [ijk]
  • B. [!ijk]
  • C. ?
  • D. *
  • E. None of the above

  • Correct Answer



  • Unix problems


    Search Results


    • 1. The cat command is used to

    • Options
    • A. capture a file
    • B. display a file
    • C. print a file
    • D. copy a file
    • E. None of the above
    • Discuss
    • 2. The command used to remove the directory is;

    • Options
    • A. rmdir
    • B. rd
    • C. remove
    • D. rdir
    • E. None of the above
    • Discuss
    • 3. The octal representation 652 indicates

    • Options
    • A. Execute permission for the owner
    • B. Write permission for others
    • C. Read and write permission of groups
    • D. All of the above
    • E. None of the above
    • Discuss
    • 4. Which command is used to assign only read permission to all three categories of the file 'note'?

    • Options
    • A. chmod go+r note
    • B. chmod a-rw
    • C. chmod ugo=r note
    • D. chmod u+r,g+r,o-x note
    • E. None of the above
    • Discuss
    • 5. The File that contains a set of instructions which are performed when a user logs in, is

    • Options
    • A. .exrc
    • B. .profile
    • C. .autoexec
    • D. autoexec.bat
    • E. None of the above
    • Discuss
    • 6. Which of following commands is used for an automatic reminder service?

    • Options
    • A. write
    • B. mesg
    • C. calendar
    • D. mail
    • E. None of the above
    • Discuss
    • 7. Which symbol will be used with grep command to match the pattern pat at the end of a line?

    • Options
    • A. ^pat
    • B. $pat
    • C. pat$
    • D. pat^
    • E. None of the above
    • Discuss
    • 8. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has

    • Options
    • A. executable permission only
    • B. write and executable permissions
    • C. both read and executable permissions.
    • D. both read and write permissions
    • E. None of the above
    • Discuss
    • 9. Which command is used with vi editor to move the cursor to the left?

    • Options
    • A. i
    • B. j
    • C. k
    • D. h
    • E. None of the above
    • Discuss
    • 10. Which command is used with vi editor scroll half page backward?

    • Options
    • A. [Control-d]
    • B. [Control - u]
    • C. [Control-c]
    • D. [Control -P]
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment