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

Location, which city is located on 35 north latitude 80 west longitude

which city is located on 35 north latitude 80 west longitude

Hist, Washington ignored the Treaty of Friendship and Alliance penned in 17...

Washington ignored the Treaty of Friendship and Alliance penned in 1778 between the US and France citing

Types of communication networks, (a) Communication in the business organiza...

(a) Communication in the business organization is very important but to structure it through appropriate networks is even more vital as unregulated communication flow could make i

World regional geography, World Regional Geography: Regional geography is ...

World Regional Geography: Regional geography is a branch of geography that studies the world's regions. A region itself is defined as a part of the Earth's surface with one or man

Write a note about building the magazine article, Question 1 Write a long ...

Question 1 Write a long note on feature writing and summarise techniques for writing a good feature Question 2 Write a note about building the magazine article Question 3 Writ

What is our responsibility to nature?, What Is Our Responsibility To Nature...

What Is Our Responsibility To Nature? Our responsibility towards nature is to take care of her. Don't throw out waste things out your car windows for other people to pick up, g

OK, WHEN WERE AFRICAN AMERICANS REMOVED FROM OFFICE IN GEORGIA .

WHEN WERE AFRICAN AMERICANS REMOVED FROM OFFICE IN GEORGIA .

BED, EDUCATION IN PRESENT SCENARIO

EDUCATION IN PRESENT SCENARIO

Discuss the new challenges of e-educational planning, Question 1: (a) "...

Question 1: (a) "The concern of Planners is twofold: to reach a better understanding of the validity of education in its own empirically observed specific dimensions and to hel

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