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

Stationary, what is stationary and examples of stationary

what is stationary and examples of stationary

Evaluate a theoretical framework, Question 1: Suppose the extent to whi...

Question 1: Suppose the extent to which the management of education is sensitive to a conflicting variety of values, public opinion, client demand and the methods of commu

HYSYS , Hi, do u help with HYSYS assignment ?

Hi, do u help with HYSYS assignment ?

ICP-AES, What does it means Ar, Monitorline like instrumental parameters fo...

What does it means Ar, Monitorline like instrumental parameters for ISP-AES? Thank you in advance!

Determine the weighted average cost of capital, QUESTION Part A E...

QUESTION Part A Every time a listed company does a share buyback, media and investors alike would debate fiercely on the merits of such a scheme. There are investors who

Paradoxical role of the immune system, 1) Discuss the implications of stres...

1) Discuss the implications of stress on the CV system and cancer development. 2) Explain the paradoxical role of the immune system, including the inflammatory response, in tumo

Socio-cultural anthropology, Socio-cultural Anthropology: Sociocultural...

Socio-cultural Anthropology: Sociocultural anthropology is the study of contemporary living human societies. It is based on the concept of "culture" as both a form of human ad

What is method of dominance, Question 1 Explain any five guidelines to be ...

Question 1 Explain any five guidelines to be followed for constructing frequency distribution Question 2 Explain Mode and the method of locating Mode by the Graphic Metho

Psychology, What is the dark side or reproicity

What is the dark side or reproicity

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