Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions

Question

1. Identify three communication approaches to identity.

Answered: 1 week ago

Question

d. Who are important leaders and heroes of the group?

Answered: 1 week ago

Question

3. Describe phases of minority identity development.

Answered: 1 week ago