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

CV, hello i would like to gut help in writing my CV. Can you help me? sar...

hello i would like to gut help in writing my CV. Can you help me? sarah

Types of relationships, Types of relationships: A relationship is normally...

Types of relationships: A relationship is normally viewed as a connection between individuals, such as a romantic or intimate relationship, or a parent-child relationship. Individ

Guidance and counselling , Training to be a counsellor is a multifaceted pr...

Training to be a counsellor is a multifaceted process, which takes time and commitment to ensure success. An often overlooked starting point is examining oneself. Self-assessment i

AC Machines, identify two categories of protection which are required for t...

identify two categories of protection which are required for three phase mototrs installed in a factory workshop environment?

Past tence, What is the past tense of have?

What is the past tense of have?

Linear algebra assignment, I have a linear algebra assignment/coursework (i...

I have a linear algebra assignment/coursework (it''s about affine sets and mappings), but I don''t have the time to do the rest of it (I have done only one question and one part of

Mr, Mississippi can be broken down into eight geographical regions.

Mississippi can be broken down into eight geographical regions.

Liver in digestion process, The liver is a large organ that plays a central...

The liver is a large organ that plays a central role in digestion. All blood carrying nutrients from the digestive tract is channeled through the hepatic portal vein to the liver,

Modern art vs. ancient art, Modern Art vs. Ancient Art : Modern & ancient a...

Modern Art vs. Ancient Art : Modern & ancient art are two classifications of art and extremely loosely, human history. Both of the periods have distinct characteristics that help r

Geomorphological drainage system, Geomorphological Drainage system: In geo...

Geomorphological Drainage system: In geomorphology, a drainage system is the pattern formed by the streams, rivers, and lakes in a particular drainage basin. They are governed by

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