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

How to improve your school Grades?, Achieving a high grade on assignments, ...

Achieving a high grade on assignments, final project or examination throughout the year isn''t a straight forward task for college students. Here we tend to discuss what factors ar

Management information system, evaluate the past and present state of manag...

evaluate the past and present state of management information system in logistec industry.

Business ethics & corporate governance, Why business ethics & corporate gov...

Why business ethics & corporate governance important even though there is a rule and regulation and policies.

Banking system in the united kingdom and that in germany, QUESTION 1 (...

QUESTION 1 (a) The Central Bank of a country performs several key functions within its economy. Besides being the Regulator and Supervisor of Banking Institutions, discuss the

Public administration, Public Administration: It is a branch of political ...

Public Administration: It is a branch of political science dealing primarily along with the structure and workings of agencies charged along with the administration of governmenta

Parties involved in credit cards, PARTIES INVOLVED Cardholder: Th...

PARTIES INVOLVED Cardholder: The owner of the card used to create a purchase; the customer. Card-issuing bank: The financial organization or other organization that

Environmental health, Environmental Health: According to the World Health ...

Environmental Health: According to the World Health Organization (WHO), environmental health addresses all the physical, chemical, and biological factors external to a person, and

Global Studies Question, How did Southeast Asians react to contact with ma...

How did Southeast Asians react to contact with many different religions?

Pathophysiology, Just in terms of the hydrostatic and osmotic pressures in ...

Just in terms of the hydrostatic and osmotic pressures in blood vessels, explain what would promote the accumulation of excess fluid in the interstitial space?

Purchase Custom Economics Term Paper, Is there anyone at Expertsmind Who Ca...

Is there anyone at Expertsmind Who Can Write My Economics Term Paper with best quality answers?

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