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

Produce a single processing sketch - body drawing, The body has extraordina...

The body has extraordinary ability to express itself. Something which we often struggle to translate into our interaction with computational systems. We are often limited to conven

Evaluates the available prescription, The pharmacist evaluates the availabl...

The pharmacist evaluates the available prescription before it can be filled and will review the client's allergies as well as the drug facts. The evaluation involves reviewing pote

Theories of the contributors of behavioral school, Question: 1. Differe...

Question: 1. Differentiate administration and management. Explain the principles of management with example. 2. Describe the theories of the contributors of Behavioral schoo

Forces that are fueling e-commerce, WHAT FORCES ARE FUELING E-COMMERCE? ...

WHAT FORCES ARE FUELING E-COMMERCE? There are as a minimum three main forces fuelling e-commerce- i.e. marketing and customer Interaction forces, economic forces and technol

Sociology, what method usually involves two or more countries or cultures t...

what method usually involves two or more countries or cultures that have several things in common but differ in one particular dimension?

Different types of socialisation undergone by an individual, Question : ...

Question : Read the following statement and answer the following questions: ‘The personalities we develop depend largely on the environment in which we live. When a child's

ACADEMIC WRITING, HOW TO PRESENT A PIECE OF WRITING USING THE APA REFERENCI...

HOW TO PRESENT A PIECE OF WRITING USING THE APA REFERENCING STYLE

A huge Virtual Team of Tutors across India helping students, We at Expertsm...

We at Expertsmind provide online teaching and Homework assistance to graduates and Post graduate students in US and UK. We offer help in almost all academic subjects including Engi

Discuss cdm, Question 1 The field of environmental finance is a part of...

Question 1 The field of environmental finance is a part of both environmental economics and the conservation movement which develops different financial instruments to protect

SHRM, STRENGHTS AND WEAKNESS OF BEST PRACTISE MODELS OF HRM STRATEGY

STRENGHTS AND WEAKNESS OF BEST PRACTISE MODELS OF HRM STRATEGY

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