Answered step by step
Verified Expert Solution
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
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started