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

Study and communication skills, I will have to complete 20 different entry ...

I will have to complete 20 different entry on learner diary.In every entry it''s compulsory to mention about my objective,meeting the goal,survey reflection of study skills,what I

Locate and download "10 Strategic Points Template wi, Ask queConsider a pot...

Ask queConsider a potential gap in the literature that is emerging from your ongoing reading in your field of interest including no less than five specific research studies. Using

How public policy making as a major task of government, Question 1: Exp...

Question 1: Explain clearly how Public Policy making, as a major task of Government, is concerned with the alleviation of social problems and the realization of human dignity.

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

Spanish 2, Los domingos, a mis hermanos y a mí nos fascinaba...?

Los domingos, a mis hermanos y a mí nos fascinaba...?

Caste divides and language unites, QUESTION 1 Caste divides and Languag...

QUESTION 1 Caste divides and Language unites discuss this statement critically with reference to your own society. QUESTION 2 How far do you agree that education helps

Behaviour management, Gender behaviour management in secondary school

Gender behaviour management in secondary school

Determine the weighted average cost of capital, QUESTION Part A E...

QUESTION Part A Every time a listed company does a share buyback, media and investors alike would debate fiercely on the merits of such a scheme. There are investors who

History of science, describe the factors which decide the broad area of sci...

describe the factors which decide the broad area of scientific activity?

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