Chapter 16 Exam

The /tmp directory is a temporary directory and will not exist on a system at all times.
  • False


Which of the following commands will set the "sticky bit" on /shared ?
  • chmod 1777 /shared

Which of the following commands will set setuid for /usr/bin/program?
  • chmod 4755 /usr/bin/program

The setgid permission...
  • ...allows a command to be run as the group owner of the file.
  • ...allows files created in a directory to be owned by the group that owns the directory.

Which of the following commands will set setgid on /shared ?
  • chmod 2777 /shared

Setting setgid on a directory...
  • ...will set the group owner of all files created in the directory to the group owner of the directory.


Deleting a source file will break an associated hard link.
  • False


A source and a hard link must be part of the same filesystem.
  • True


Deleting a source file will break an associated symbolic link.
  • True


Which of the following commands would create a hard link, link to file?
  • ln file link
SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

    Blogger Comment
    Facebook Comment

0 comments:

Posting Komentar