Question: For Linux, everything is considered a file, including regular files, directories and hardware devices. In this question, you are asked to carry out some practical

 For Linux, everything is considered a file, including regular files, directories

For Linux, everything is considered a file, including regular files, directories and hardware devices. In this question, you are asked to carry out some practical activities to manipulate files using Linux. Include either screenshots or output from the command line to document your answers. a. Outline how you would approach working out how to achieve a task through the command line when you don't know the appropriate commands. (4 marks) b. Add a new user charlie to your system, giving their account a userid of 1234. (4 marks) C. Open a new terminal. As the new user, charlie, create a file newfile.txt in their home directory (6 marks) d. Use a command to demonstrate that more than one user is currently using the operating system. (4 marks) e. Transfer ownership of newfile.txt to the default user (for example, p), and show the file permissions. (6 marks) f. A 'file' in the /proc directory contains information about the processor. Use commands to search this file for information about the processor cache, and save the output in a file cache. txt. Display its contents in the terminal. (6 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!