unix, Other Subject

Assignment Help:

1. Write a script called “myls” that will perform similarly to how the ls command does.
Start by making myls print out all files in the present directory.
2. Next, make the script print out all files in a different directory.
3. Next, make the script prompt the user to enter a directory (interactively) and print all
files in the specified directory.
4. Now, enhance the script so that it will print * beside each executable file in the
directory, and d beside directories. It should also print out the read/write permissions
as r and w (if you have them – if not, it should just print a - instead).
5. Finally, to make your myls that much more professional looking, modify it so that it
will take the directory as a command line argument, rather than an interactive prompt.
In other words, you should be able to run it as:
./myls /home/instructor/file

Related Discussions:- unix

Explain peters and watermans organizational model, Question: (a) Exami...

Question: (a) Examine the following sub-systems in so far as they enhance our understanding of the educational system: normative, strategic, operational and administrative. Su

Discuss the relevance of the seven cardinal virtues, Question 1: 1. De...

Question 1: 1. Describe carefully the management functions and explain the role and responsibilities of the manager in relation to each of them. 2. Using the hospital as a

Cultural anthropology, Cultural anthropology : Cultural anthropology, appli...

Cultural anthropology : Cultural anthropology, applies the comparative method and evolutionary perspective to human culture. Culture represents the entire database of knowledge, va

What do you understand by amicus curiae, Question 1 Discuss any five salie...

Question 1 Discuss any five salient features of the American Constitution Question 2 Discuss solutions to Improving Centre State relations Question 3 The President has t

Meteorology vs. climatology, Meteorology vs. Climatology: Meteorology and ...

Meteorology vs. Climatology: Meteorology and Climatology are two terms that seem to have the same meaning but strictly speaking there is difference between the two terms. Climatol

Linux smart home, Hi i want to develop a smart home using Linux platform.I ...

Hi i want to develop a smart home using Linux platform.I will be using UBUNTU .The aim and objective of this project is for the user to be able to control devices using Linux scrip

Perform a white test for heteroskedasticity, Perform a White test for heter...

Perform a White test for heteroskedasticity using auxiliary regressions. Attach your results, and write out the form of the test as well as the value of the statistic and its inter

In five points, QUESTION Based on the above case study, answer the foll...

QUESTION Based on the above case study, answer the following questions- (a) In five points, explain the success of Hamsley (b) Explain what ‘personalisation' is and give

Emulsions, what is conclusion of emulsions??

what is conclusion of emulsions??

Branding, examples of provincial brand

examples of provincial brand

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd