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
1
2
3
4
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
1
2
3
4
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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

BUSINESS LAW

Answered: 1 week ago