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

Aim, Mention the Aims of Education in Present Scenario

Mention the Aims of Education in Present Scenario

BAHUBALI, WHY KATTAPA KILLED BAHUBALI?

WHY KATTAPA KILLED BAHUBALI?

Visual basic 2010, How do I get stared? Do I start from the beginning of ch...

How do I get stared? Do I start from the beginning of chapter 1?

Stomach and small intestine - digestive system, The stomach is a hollow org...

The stomach is a hollow organ, or "container," that holds food while it is being mixed with enzymes that continue the process of breaking down food into a usable form. Cells in the

General improvements in quality of life, In addition to help with specific ...

In addition to help with specific goals or difficulties, clients who undertake counselling can experience general improvements in quality of life, including: ?decreased defen

Pharmacy, learning objective for Amperometry titration

learning objective for Amperometry titration

Term project, i need to do term project and i am running out of time. if yo...

i need to do term project and i am running out of time. if you guys do it for me how much would you charge??

Logic, #qIf you have two candles on a boat but no source of fire. How will ...

#qIf you have two candles on a boat but no source of fire. How will you lighten a candle if you are in the middle of the river? uestion..

Public policy making process, Question 1: Explain clearly how Public Po...

Question 1: Explain clearly how Public Policy Making constitutes one of the major tasks which have to be accomplished by modern Governments. Question 2: "Policy Formul

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

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