logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which shell's wild-cards is used to match a single character?


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

  • Correct Answer



  • Unix problems


    Search Results


    • 1. The command to count the number of files in the current directory by using pipes, is

    • Options
    • A. ls | wc
    • B. ls -l | wc -l
    • C. ls | wc -w
    • D. ls | ws -c
    • E. None of the above
    • Discuss
    • 2. Which option is used with the chmod command recursively to all files and sub-directories in a directory?

    • Options
    • A. -1
    • B. -i
    • C. -x
    • D. -R
    • E. None of the above
    • Discuss
    • 3. Which of the following commands can be used to get information about all users who are currently logged into the system?

    • Options
    • A. which
    • B. who
    • C. who am i
    • D. 1 /u
    • E. None of the above
    • Discuss
    • 4. Which command is used with vi editor to search a pattern in the forward direction?

    • Options
    • A. /
    • B. ?
    • C. //
    • D. ??
    • E. None of the above
    • Discuss
    • 5. Which is the earliest and most widely used shell that came with the UNIX system?

    • Options
    • A. C shell
    • B. Korn shell
    • C. Bourne shell
    • D. Smith shell
    • E. None of the above
    • Discuss
    • 6. Which command is used to list out all the hidden files along with the other files?

    • Options
    • A. ls -l
    • B. ls -x
    • C. ls -F
    • D. ls -a
    • E. None of the above
    • Discuss
    • 7. Which of the following files contains information related to password aging?

    • Options
    • A. Shadow
    • B. password
    • C. profile
    • D. All the three
    • E. None of the above
    • Discuss
    • 8. Which of the following commands is used to change the working directory?

    • Options
    • A. cd
    • B. changedir
    • C. chdir
    • D. cdir
    • E. None of the above
    • Discuss
    • 9. Which command is used to change directory to the name beginning with a 'p'?

    • Options
    • A. cd p
    • B. cd p?
    • C. cd p*
    • D. cd [p]
    • E. None of the above
    • Discuss
    • 10. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.

    • Options
    • A. .exrc
    • B. .profile
    • C. lastlogin
    • D. .mbox
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment