Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Switch to a command - line terminal ( tty 5 ) by pressing Ctrl + Alt + F 5 and log in to the terminal
Switch to a commandline terminal tty by pressing CtrlAltF and log in to the terminal using the user name of root and the password of LINUXrocks!.
At the command prompt, type touch permsample and press Enter. Next, type chmod permsample at the command prompt and press Enter.
At the command prompt, type ls l and press Enter. Who has read, write, and execute permissions to this file?
At the command prompt, type chmod permsample and press Enter. Next, type ls l at the command prompt and press Enter. Who has read, write, and execute permissions to this file?
At the command prompt, type rm f permsample and press Enter. Were you able to delete this file? Why?
At the command prompt, type cd and press Enter. Next, type pwd at the command prompt and press Enter. Type ls F at the command prompt and press Enter. Note the directories you see under the
At the command prompt, type ls l and press Enter to view the owner, group owner, and permissions on the foruser directory created in HandsOn Project Who is the owner and group owner? If you were logged in as the user user in which category would you be placed user group, other What permissions do you have as this category read write, execute
At the command prompt, type cd foruser and press Enter to enter the foruser directory. Next, type ls F at the command prompt and press Enter. Are there any files in this directory? Type cp etchosts at the command prompt and press Enter. Next, type ls F at the command prompt and press Enter to ensure that a copy of the hosts file was made in your current directory.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started