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

Psychology & geology, I have 2 online courses that i need assistance with. ...

I have 2 online courses that i need assistance with. PSYCHOLOGY & GEOLOGY both are ending in late april. Are you able to take the online quizes and test and exams for me?

Structural determinants of population health - ethnicity, Ethnicity: S...

Ethnicity: Social inequalities are not only affected by the gender and social class only but they are also affected by the ethnicity.  Ethnicity also affects our well being an

Waste minimisation by industry and commerce, Question: (a) Waste manag...

Question: (a) Waste management usually follow a planned approach, often based around the idea of a waste hierarchy. Provide an example a waste hierarchy in which there has b

Describe career development, Question: (a) I) Describe career developm...

Question: (a) I) Describe career development and illustrate why we need to study related theories? II) Define decision making and explain how this relates to career counse

Archaeologists, Archaeologists: Archaeologists interpret ancient societies...

Archaeologists: Archaeologists interpret ancient societies often fragmentary but fascinating record to reassemble long-ago cultures and forgotten ways of life. Archaeologists have

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

Writing, how do I get better at writing?

how do I get better at writing?

Explain what are the immediate measures that will undertake, QUESTION i...

QUESTION i) After reading the case comment on the crucial issues that were ignored by Disney company ii) A British company doing business in Thailand is facing lots of probl

World geography, what is the relationship between physical and human charac...

what is the relationship between physical and human characteristics of a place

Famines, places where famines mostly occur

places where famines mostly occur

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