Using the Terminal on your CentOS operating system (on your Virtual Machine) complete the following tasks.  Please use the Terminal to do every task and not the graphical user interface. (please tell me the command to do following) Login as the user ‘alice’, with the provided username and password. Change directory to /home/alice/Downloads and create a text file named ‘mytextfile.txt’. Explain what software you use to create the text file. Use the command to check the ownership and permissions of the file you have just created (‘mytextfile.txt’). Now, without using the graphical user interface, log in as root. Navigate to the location of the file ‘mytextfile.txt’. Change the ownership of the file ‘mytextfile.txt’ to ‘bob’. Allow bob and default group of the file to read, write and execute, and everyone else the read permissions. Provide a screenshot of each step. check the permission/ownership details of the file again.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 3E
icon
Related questions
Question

 Using the Terminal on your CentOS operating system (on your Virtual Machine) complete the following tasks.  Please use the Terminal to do every task and not the graphical user interface. (please tell me the command to do following)

  • Login as the user ‘alice’, with the provided username and password. Change directory to /home/alice/Downloads and create a text file named ‘mytextfile.txt’. Explain what software you use to create the text file.
  • Use the command to check the ownership and permissions of the file you have just created (‘mytextfile.txt’).
  • Now, without using the graphical user interface, log in as root. Navigate to the location of the file ‘mytextfile.txt’.
  • Change the ownership of the file ‘mytextfile.txt’ to ‘bob’.
  • Allow bob and default group of the file to read, write and execute, and everyone else the read permissions. Provide a screenshot of each step.
  • check the permission/ownership details of the file again.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 8 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage