logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Unix Comments

  • Question
  • Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note?


  • Options
  • A. chmod 761 note
  • B. chmod 671 note
  • C. chmod 167 note
  • D. chmod 4=rwx, g=rw note
  • E. None of the above

  • Correct Answer
  • chmod 761 note 


  • Unix problems


    Search Results


    • 1. The chmod ugo+rw note command can be represented in octal notation as

    • Options
    • A. chmod 555 note
    • B. chmod 666 note
    • C. chmod 444 note
    • D. chmod 333 note
    • E. None of the above
    • Discuss
    • 2. 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
    • 3. 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
    • 4. 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
    • 5. 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
    • 6. If a file has read and write permissions for the owner, then the octal representation of the permissions will be

    • Options
    • A. 1
    • B. 6
    • C. 5
    • D. 3
    • E. None of the above
    • Discuss
    • 7. Which of the following commands can be used to get information about yourself?

    • Options
    • A. who am i
    • B. i /4
    • C. pwd
    • D. which
    • E. None of the above
    • Discuss
    • 8. Which of the following commands is used to rename a file?

    • Options
    • A. rename
    • B. remove
    • C. mv
    • D. ren
    • E. None of the above
    • Discuss
    • 9. The ls -l command tells

    • Options
    • A. who the owner of the file is
    • B. the name of the group owner of the file
    • C. how large the file is and when the file was last modified.
    • D. All of the above
    • E. None of the above
    • Discuss
    • 10. Which of the following keys is used to overstrike a whole line?

    • Options
    • A. R
    • B. v
    • C. C
    • D. u
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment