Create a bash script that accepts directory paths

Assignment Help Computer Engineering
Reference no: EM133422198

Listing and sorting directories

Create a Bash script that accepts directory paths as arguments. For each argument, list the contents of each directory with the name of each listed at the top.

If you want to give yourself an added challenge, have your script accept an additional argument, "a" or "d," that sorts the contents of each directory in either ascending or descending order. For even more of a challenge, create a Bash script that sorts the contents of the directories based on an "a" or "d" argument that directly precedes it. In other words, you should be able to sort one directory in ascending order, a second directory in descending order, and so on.

Reference no: EM133422198

Questions Cloud

What would you like to call these types of play experiences : While considering the benefits and nature of risky play, rename "risky play" because the word "risky" tends to include a negative connotation.
Are women pressured to have an abortion : Are women pressured to have an abortion? What is the abortion process? Why was it overturned and where?
How is a cruise ship similar to the luxurious hotel industry : Which of the five cruise ship classifications does this cruise fulfill? Justify your answer with no less than Apply course and secondary sources to support
Development of a new or modified business : development of a new or modified business information system. What is the purpose of this phase, and what questions are typically explored during
Create a bash script that accepts directory paths : Create a Bash script that accepts directory paths as arguments. For each argument, list the contents of each directory with the name of each listed at the top
What benefits does amazon web services : Compared to Microsoft's Azure Domain, what benefits does Amazon Web Services (AWS) provide that Azure Domain does not
How would you describe yourself in real life : Example of an essay of "How would you describe yourself in real life"
Draw an entity-relationship diagram showing : Design each of these tables showing the keys and attributes to be included in each table. Include five sample records for each table
Identify how keeping the environment clean : Identify how keeping the environment clean, contributes to the children's, staff's and families' wellbeing. Identify what you did to meet your legal

Reviews

Write a Review

Computer Engineering Questions & Answers

  Identify three different classes that might contain objects

Identify three different classes that might contain each of these objects: Wolfgang Amadeus Mozart, My pet cat named Socks and Apartment 14 at 101 Main Street.

  Evaluate and choose appropriate software design patterns

Demonstrates an ability to evaluate a problem and choose an appropriate software design pattern. Demonstrates a sound understanding of the chosen software

  Write a parallel program for the computation

Assume that n = 3m and that the n-by-n matrices A, B, C are distributed around a three-processor ring. In particular, assume that processors 1, 2, and 3 house.

  Configure their 16 interfaces as access ports

configure their 16 interfaces as access ports. You can use the int range command to "do this", but please note that the range can only cover four ports

  What kind of data would you track

What kind of data would you track? Create two tables that will have a relationship and link together based on the unique key. Include 6 field names and 5 comple

  List out the project planning guidelines

Why the Project Planning is challenging task? List out the Project planning guidelines.

  Describe what hacking of memory or hacking of ram means

Describe what hacking of memory or hacking of RAM means. Examine the common tools that hackers use to hack into memory of computing devices. Detail two (2) real-life examples of such tools in action.

  Identify cryptographic attack and how you protect against it

Malicious individuals have discovered several methods to attack and defeat cryptosystems. It's important that understand the threats posed by cryptographic.

  Design an algorithm that finds the median salary

Design an algorithm that finds the median salary across both towns in ?(log(n)) total queries. (b) Prove that the algorithm finds the correct answer.

  Coordinates of two points

For each of the following sets, give the coordinates of two points where Pand Qare in the set, but the line from Pto Qgoes outside the set. For example, if the points are (1,2)and (3,4),enter in the format (1,2),(3,4)

  Write a loop to find the sum of all integers from m

Write a loop to find the sum of all integers from m through n. For example, if m is 4 and n is 7, this sum is 4+5+6+7 = 22.

  What is a misaligned operand

Design a universal programmable interface that can connect almost any peripheral to a 68000 system-even if the peripheral has unusual timing restrictions.

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