Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Somone proficient in linux please help me answer this I cant seem to get the pipe commands to work si WEE (Home Directory) DIR1 DIR2

Somone proficient in linux please help me answer this I cant seem to get the pipe commands to work

image text in transcribed

si WEE (Home Directory) DIR1 DIR2 Level1.txt Problem1 Consider the following diagram: HW1 a) Create the directory tree shown Fiugre 1. b) Use the terminal only to create the text files Level1.txt and Level2.txt under DIR2 & DIR3 Respectivley. Write 5 of your favorit dinner meals in Level1.txt in random alphabatical order and end every line with a period. Write 5 of your favorit deserts in Level2.txt in random alphabatical order end every line with a period. DIR3 c) Use redirection and pipes to create a LevelO.txt file under DIR1, which will contain the sorted contents of both Level1.txt & Level2.txt in sequence. You should perform this task with no more than than two command lines. Level2.txt d) Use a terminal command to count how many lines there is in LevelO.txt e) Change the other's privelages to have read & write access to Figure 1: Directory Tree LevelO.txt, and verify the changes in privelages. f) Use one terminal command only to change the privelages of LevelO.txt to read, write, execute for the owner, exectue only for group, and write only for everyone else. g) Remove Level2.txt h) Rename LevelO.txt to SortedDelight.txt i) Remove the the Directory HW1 and all of its contents in one command

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 Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

Briefly discuss the various types of international banking offices.

Answered: 1 week ago