logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which of the following commands is used to remove files?


  • Options
  • A. erase
  • B. delete
  • C. rm
  • D. dm
  • E. . None of the above

  • Correct Answer
  • rm 


  • Unix problems


    Search Results


    • 1. Which command is used with file named 'note' to remove the executable permission from the user and assign read permission to the group and others?

    • Options
    • A. chmod u-x, go+r note
    • B. chmod go+r, u+x note
    • C. chmod g-x, uo+r note
    • D. chmod go+x, u-x note
    • E. None of the above
    • Discuss
    • 2. Which of command is used to copy a file?

    • Options
    • A. copy
    • B. cp
    • C. cpio
    • D. tar
    • E. None of the above
    • Discuss
    • 3. Which command will be used with vi editor to append text at end of line?

    • Options
    • A. A
    • B. a
    • C. i
    • D. I
    • E. None of the above
    • Discuss
    • 4. Which operator will be used with chmod command to assign absolute permission?

    • Options
    • A. +
    • B. -
    • C. =
    • D. %
    • E. None of the above
    • Discuss
    • 5. Which of the following commands is used to copy directory structures in and out

    • Options
    • A. cp
    • B. cpio
    • C. cp - p
    • D. copy
    • E. None of the above
    • Discuss
    • 6. Which command is used to link the files?

    • Options
    • A. lk
    • B. ln
    • C. cp
    • D. tar
    • E. None of the above
    • Discuss
    • 7. Which of the following commands is not the vi Input mode command?

    • Options
    • A. rch
    • B. R
    • C. S
    • D. j
    • E. None of the above
    • Discuss
    • 8. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?

    • Options
    • A. who | tee user.lst
    • B. who > user.lst
    • C. who >> user.lst
    • D. who < user.lste
    • E. None of the above
    • Discuss
    • 9. 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
    • 10. 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


    Comments

    There are no comments.

Enter a new Comment