Skip to Content
Learn Linux Shell Scripting - Fundamentals of Bash 4.4
book

Learn Linux Shell Scripting - Fundamentals of Bash 4.4

by Sebastiaan Tammer
December 2018
Beginner
452 pages
12h 17m
English
Packt Publishing
Content preview from Learn Linux Shell Scripting - Fundamentals of Bash 4.4

Chapter 5

  1. Which three permissions are used for Linux files?
    • Read
    • Write
    • Execute
  2. Which three types of ownership are defined for Linux files?
    • User
    • Group
    • Others
  3. Which command is used to change the permissions on a file? chmod
  4. What mechanism controls the default permissions for newly created files? umask
  5. How is the following symbolic permission described in octal: rwxrw-r--0764. 7 from rwx on the first three places (user), 6 from rw- on the second three places (group), and 4 from r-- on the last three places (others).
  6. How is the following octal permission described symbolically: 0644 rw-r--r--. First 6 is ReadWrite, then two 4s which are just Reads.
  7. Which command allows us to gain superuser privileges? sudo
  8. Which commands can we use to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Bash Scripting Fundamentals

Bash Scripting Fundamentals

Sander van Vugt

Publisher Resources

ISBN: 9781788995597Supplemental Content