Ticker

6/recent/ticker-posts

Google IT Support Professional:Operating Systems and You: Becoming a Power User (Week 2) Users and Permissions.

Don't just copy for the sake of completion. 
Make sure you understand first.

★Permissions★

Q1.What are the basic linux file permissions? Check all that apply.

  1. Read
  2. Write
  3. Modify
  4. Execute
The three basic file permissions in Linux are read, write, and execute.

Q2.You're given the output of an ls -l of a file in Linux.

Answer the following question: What does the first character of output signify?

  1. books_file is a directory
  2. books_file is a disk device
  3. The file owner has delete permissions
  4. The file owner is a class D user
The first character in output reflects the type of directory entry; in this case, a directory.

Q3.You're given the output of an ls -l of a file in Linux.

Answer the following question: Who does the last trio of bits (r--) in the file permission and attributes refer to?

  1. All other users
  2. Group file belongs to
  3. Regular file
  4. File owner
The last trio of permission bits refers to the permission of all other users on the machine.

Q4.You're given the output of an ls -l of a file in Linux.

Answer the following question: What permissions does the second trio of bits (-wx) give you? Check all that apply.

  1. Read
  2. Execute
  3. Write
  4. Group file belongs to
Great work! w and x are the write and execute permissions.

Q5.If I wanted to change permissions of a file called honey_bears, what command could I use to grant write access to the owner of the file without changing other permissions? The owner currently only has read access to the file. Check all that apply.

  1. chmod u+w honey_bears
  2. chmod o+w honey_bears
  3. chmod 644 honey_bears
  4. chmod 400 honey_bears
You can use the symbolic or numerical form of chmod to modify permissions, but to use the numerical form you need to know what all of the existing permissions are to avoid unintended changes

一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一

           Machine Learning Coursera-All weeks solutions [Assignment + Quiz] click here
       &
                         Coursera Google Data Analytics Professional Quiz Answers   click here
    &
                       Coursera Google IT Support Professional   click here

Have no concerns to ask doubts in the comment section. I will give my best to answer it.
If you find this helpful kindly comment and share the post.
This is the simplest way to encourage me to keep doing such work.


Thanks & Regards,
- Wolf

Post a Comment

0 Comments