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

Define peer group and peer counselling, Question 1: (a) Define adoption...

Question 1: (a) Define adoption (b) Discuss the difficulties usually faced by adopted children and their parents taking into account emotional reactions of adopted children.

Modern documentaries, Modern documentaries: Box office analysts have noted...

Modern documentaries: Box office analysts have noted that this film genre has become increasingly successful in theatrical release with films such as Bowling for Columbine, Super

Pyschology, In this essay, explore how the passage of time is perceived by ...

In this essay, explore how the passage of time is perceived by humans. Is this a top-down process, a bottom-up process, or both? Is this sense innate, or do we rely on environmenta

Write a note on ''political thought'', Question 1 Explain the socio - cult...

Question 1 Explain the socio - cultural changes that took place due to the process of Westernization. Question 2 Write a note on 'Political Thought' Question 3 Exp

AP Spanish, I want to know what is public relation agent?

I want to know what is public relation agent?

Diversity in American Life, Review the following scenario, and respond to t...

Review the following scenario, and respond to the questions that follow: Kevin is a hardworking salesperson at a local department store in a small town. He is a great salesperson

Elements of epic poetry, I am facing some problems in my assignment of Elem...

I am facing some problems in my assignment of Elements of Epic Poetry. Can anybody suggest me the proper explanation for it? the topics which are related to the assignment are give

Crimainl justice, I am seeking help with my online criminal justice classes...

I am seeking help with my online criminal justice classes. I need to find and individual that is interested in a long-term position meaning approximately two-years. I need to find

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