logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which command is used to make all files and sub-directories in the directory (progs) executable by all users?


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

  • Correct Answer
  • chmod -R a+x progs 


  • Unix problems


    Search Results


    • 1. Which command will be used with vi editor to insert text to left of cursor?

    • Options
    • A. s
    • B. S
    • C. a
    • D. i
    • E. None of the above
    • Discuss
    • 2. Which command is used to display the characteristics of a process?

    • Options
    • A. pid
    • B. du
    • C. ps
    • D. au
    • E. None of the above
    • Discuss
    • 3. Which of the following is not a communication command.

    • Options
    • A. write
    • B. mesg
    • C. mail
    • D. grep
    • E. None of the above
    • Discuss
    • 4. The cp command uses:

    • Options
    • A. standard input file
    • B. standard output file
    • C. both input and output file
    • D. neither standard input nor standard output file
    • E. None of the above
    • Discuss
    • 5. While working with mail command, which command is used to save mail in a separate file?

    • Options
    • A. s
    • B. r
    • C. w
    • D. d
    • E. None of the above
    • Discuss
    • 6. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

    • Options
    • A. tty ^c
    • B. stty intr \^c
    • C. stty echoe
    • D. stty echo \^a
    • E. None of the above
    • Discuss
    • 7. Which of the following keys is used to move the cursor to the end of the paragraph.

    • Options
    • A. }
    • B. {
    • C. |
    • D. $
    • E. None of the above
    • Discuss
    • 8. Which command is used to terminate a process?

    • Options
    • A. shutdown
    • B. haltsys
    • C. cancel
    • D. kill
    • E. None of the above
    • Discuss
    • 9. Which command is used to remove a directory?

    • Options
    • A. rd
    • B. rmdir
    • C. dldir
    • D. rdir
    • E. None of the above
    • Discuss
    • 10. Which command is used to sort the lines of data in a file in reverse order

    • Options
    • A. sort
    • B. sh
    • C. st
    • D. sort -r
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment