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

Meteorology, Meteorology: Meteorology is the interdisciplinary scientific ...

Meteorology: Meteorology is the interdisciplinary scientific study of the atmosphere. Studies in the field stretch back millennia, though significant progress in meteorology did n

Overtaking rules - traffic congestion, Overtaking Rules - Traffic Congestio...

Overtaking Rules - Traffic Congestion Overtaking needs an appropriate consideration and efficiency because the driver will use the other lane and increase the speed. The negli

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

Give me liberty, The textbook states, “Prejudice by itself did not create A...

The textbook states, “Prejudice by itself did not create American slavery.” Examine the forces and events that led to slavery in North America, and the role that racial prejudice p

Discover the causes of dissatisfaction, Question 1: Understanding perso...

Question 1: Understanding personalities in the workplace is an important responsibility for the counselors. Explain the EIGHT basic aspects of personality? Question 2:

Phylum coelenterata, i hv to make powerpointpresentation , please give me s...

i hv to make powerpointpresentation , please give me some suggestion .....

Difficulties in accessing health services, Difficulties in Accessing Health...

Difficulties in Accessing Health Services in Rural Areas and Remote Australia Health facilities in rural areas and remote Australia are mostly inaccessible because they are lo

Banking, Why & when customers become dis-satisfied?

Why & when customers become dis-satisfied?

Writing, how do you make a cursive "a"

how do you make a cursive "a"

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