Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A . What is the output of the following commands on LINUX terminal as we tried in the class ( 5 ) : i .

A. What is the output of the following commands on LINUX terminal as we
tried in the class (5):
i. whoami
ii. touch
iii. kill
iv. chmod
v. ls -l
B. Write down the LINUX commands to accomplish the following tasks (5+5):
B1. Assume you are currently within root directory at your LINUX machine
terminal (i.e., Command Line Interface). Navigate to the following directory:
/user/myspace/computersystems
Create a new directory named mydir here.
Navigate to the newly created mydir.
Create a file named mytestfile.txt.
Check if the file has successfully been created.
B2. Check the access permissions of this file (mytestfile.txt) created above.
Please note that r=read, w=write, and x=execute.
Now consider the following:
0= No Permission
1= Execute
2= Write
4= Read
Change the access permissions for full access to owner and owning group, but
only read access to others.
Check back again the access permissions to ensure they have been changed for
your file.

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions