Question: Write Linux commands to perform the following operations: Create a directory named Labwork 5 under your home directory. Display the contents of your home
Write Linux commands to perform the following operations:
Create a directory named "Labwork under your home directory.
Display the contents of your home directory.
Display the number of files in your home directory on the screen.
Go to LabworkS" directory. Print working directory.
Create a file named labworktxt with touch command and write the text below in it using any text editor.
Hold fast to dreitms
For if dreans die
Life is a brokenwinged bird
That camnot fly:
IIold fast to dreams
For when dreams go
Life is a barren field
Frozen with snow:
Search for the word is in the file labworks txt and write the output of this command to findings,
Pint the third and fourth lines of labworks txi to the file new Lx:
Find the number of lines in labworks ixt and write it to the end of new:
Change name of Labwork. xt as myPocm txt
Change the access permissions of myPoet.txt Give write permission to outhers and
GroupsYou can both use numeric and symbolic representation
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
