Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

bin boot dev etc home lib mnt media opt sbin group passwd zarul chia hello.cpp test project test recent main.cpp OS list.txt semi output Lab.txt

image text in transcribed

image text in transcribed

bin boot dev etc home lib mnt media opt sbin group passwd zarul chia hello.cpp test project test recent main.cpp OS list.txt semi output Lab.txt Legend: directory 10 files Figure 1 5. Delete group zarul and chia. (2 marks) Now for each user, create the folders and files accordingly (refer Figure 1). Creating directories and folders for user Chia. 6. Switch to user Chia. 7. Create the directories. (2 marks) 8. Create the files. (2 marks) 9. Log out from user Chia (hint: type exit). Creating directories and folders for user Zarul. 10. Switch to user Zarul 11. Create the directories. (3 marks) 12. Create the files. (4 marks) Currently you are in Zarul's home directory. Through answering the questions, your present working directory might change accordingly. 13. Display the 5 lines of file group and redirect the output to file semnl. (2 marks) 14. Change directory to project. 15. Create a softlink named Lab-slink for file Lab.txt. (2 marks) 16. Create a hardlink named Lab1-hlink for file Lab.txt. (2 marks) 17. Change directory back to zarul. 18. Copy file passwd to OS directory. (2 marks) 19. Rename file output to sem2. (2 marks) 20. Change permission for file hello.cpp so that Chia has the permission for read and write. (2 marks) 21. Log out from user zarul. Now you are back to the administrator user

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_2

Step: 3

blur-text-image_3

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

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions