logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • 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

  • Correct Answer
  • Bourne shell 


  • Unix problems


    Search Results


    • 1. Which command is used to list all the files with extension .lst?

    • Options
    • A. ls -l *.lst
    • B. ls lst*
    • C. ls *.*
    • D. ls *[lst]
    • E. None of the above
    • Discuss
    • 2. Which set option is used with vi editor to display line numbers on screen?

    • Options
    • A. nm
    • B. nu
    • C. ic
    • D. li
    • E. None of the above
    • Discuss
    • 3. Which of the following commands is used to get directory one level up?

    • Options
    • A. cd
    • B. cd ..
    • C. cd/
    • D. chdir
    • E. None of the above
    • Discuss
    • 4. Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?

    • Options
    • A. ls -F -x
    • B. ls -l
    • C. ls ~ x
    • D. Ip
    • E. None of the above
    • Discuss
    • 5. The commonly used UNIX commands like date, ls, cat, etc. are stored in

    • Options
    • A. /dev directory
    • B. /bin and /usr/bin directories
    • C. /tmp directory
    • D. /unix directory
    • E. None of the above
    • Discuss
    • 6. 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
    • 7. 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
    • 8. 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
    • 9. 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
    • 10. Which shell's wild-cards is used to match a single character?

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


    Comments

    There are no comments.

Enter a new Comment