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

Advantages of internet - entertainment, Entertainment: Entertainment is...

Entertainment: Entertainment is an additional popular reason for why a lot of people have a preference to surf the Internet. In fact, media of internet has become relatively su

Describe plato''s concept of education, Question 1 Describe Plato's con...

Question 1 Describe Plato's concept of education Question 2 Critically Describe Locke's Social Contract Theory Question 3 Describe  Bentham's views on jurispru

Project, what is the difference between efforts and elapsed time

what is the difference between efforts and elapsed time

Banking, Why & when customers become dis-satisfied?

Why & when customers become dis-satisfied?

Virtual terminal, VI R TUA L TERMINAL In open systems, a virtual te...

VI R TUA L TERMINAL In open systems, a virtual terminal ( VT ) is a submission service that: 1.   Allows host terminals on a multi-user network to work together with ot

Show ratio analysis, Provide a brief (one typed page) discussion of analysi...

Provide a brief (one typed page) discussion of analysis of the ratios of your company versus the competitor and the industry, addressing your company's liquidity, solvency, profita

Fact finding, Explain observation method of fact finding with examples

Explain observation method of fact finding with examples

Relate selected global efforts in information system, Write a 3-5 page rese...

Write a 3-5 page research paper exploring 3-5 topics regarding global efforts in the information systems industry. The paper needs to clearly identify the global topics, how it''s

World history, How did the changing economy affect society during the Ming ...

How did the changing economy affect society during the Ming and Qing dynasties?

Neurological development, Write a response in your own words to each of the...

Write a response in your own words to each of the following questions: 1. Describe the processes of habituation and dishabituation and explain how they are used in research with

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