Question: i ) Suppose you need to use a Linux command to accomplish a task that is new to you. Outline what steps you would take

i)Suppose you need to use a Linux command to accomplish a task that is new to you. Outline what steps you would take to find an appropriate command and its parameters
ii)Add a new user john to your system, giving their account a userid of 1234
iii)Open a new terminal. As the new user, hedwig, create a file test.txt in their home directory.
iv)Use a command to demonstrate that more than one user is currently using the operating system.
v)Transfer ownership of test.txt to the default user (for example, pi), and show the file permissions.
vi)Use appropriate commands to count the number of times you have used the sudo command, saving the result in a new file count.txt
When i try the first section
i use the command
sudo useradd -u 1234 john
sudo passwd john
i get the error
su: warning: cannot change directory to /home/john: No such file or directory
touch test.txt
it says touch:cannot touch 'test.txt': permission denied

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!