Generate a directory listing showing the structure

Assignment Help Basic Computer Science
Reference no: EM13848792

Create a Bourne shell script. The script should do the following:

1. Explain what the script will do and who is the author in a comment area.

2. cd to your home directory

3. Show your current working directory.

4. List the contents of the current directory.

5. Create the directory structure and create the files as defined in the previous Individual Project.

6. For each directory and file, test to see if the file or directory already exists; if it does exist, do not recreate; if it is missing, create it.

7. In the end, generate a directory listing showing the structure and content of the new directories.

8. At the beginning of the script, set a variable called INSTALL_DIRECTORY that will contain the location of the directory into which the Web server will be installed. At the end of the script, display the contents of this variable along with a message to the installer about the location in which the directories were created.

Attachment:- Clayton Kirby.docx

Reference no: EM13848792

Questions Cloud

Standard deviation and normal distribution : If the mean exam score in a class of 30 students is an 80 out of 100 and the standard deviation on the exam is 15, assuming a normal distribution of grades on the exam, what percentage of students earned between 65 and 95? How alarmed should a studen..
Conduct a hypothesis test to determine : Conduct a hypothesis test to determine if chewing gum makes you less accurate while target shooting.  Each of the following participants shot at a target (maximum score of 100) while chewing gum and without.  Assume that all conditions of the test ha..
Complete the break-even analysis excel sheet : Complete the Break-Even Analysis Excel sheet and Make a line graph that represents the break-even point. Bootle is a Baby bottle company.Bootle's are baby bottles
Venture capitalists are wealthy individuals : Venture capitalists are wealthy individuals who provide capital to new companies.
Generate a directory listing showing the structure : Explain what the script will do and who is the author in a comment area - Create the directory structure and create the files as defined in the previous Individual Project.
What do you believe makes police officers susceptible : What do you believe makes police officers susceptible to drug-related corruption? Do you think these officers would still be involved in corrupt activities if drugs were legalized
Role conflict and role strain : Compare and contrast the following pairs of concepts and give examples of each: personal troubles and public issues role conflict and role strain
Assume brooks is working on a second edition : Assume Brooks is working on a second edition of his The Road to Character and you are his editorial assistant and he wants you to write a 1 page essay (single spaced) indicating why John Lewis is a great Adam II.
Describe the companys established arrangements : Describe the company's established arrangements

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe which of the five principal forms of resolution

Analyse the stages through which it passed. In particular, describe which of the five principal forms of resolution described in the Lecture Notes was achieved at its conclusion-or temporary cessation.

  Write java code for your hello/loop

Write java code for your hello/loop

  Write a unix command to display

Write a Unix command to display, byte by byte, the contents of the file named datafile. Make sure that for each byte the character and its numerical representation are displayed.

  How many of the bits in a 6 bit unsigned number

Design a logic circuit to figure out how many of the bits in a 6 bit unsigned number equal 1. Design the simplest possible circuit to accomplish this.

  Creating a database to keep track of various aspects

10. Block-Bluster, a local video renting shop, is considering creating a database to keep track of various aspects of the store. Impressed by your MIS knowledge and skills, the management has decided to hire you to design a conceptual schema first.

  Write a program that uses a two-dimensional array

Write a program that uses a two-dimensional array of characters to hold the five student names, a single-dimensional array of five characters to hold the five students' letter grade, and five singe-dimensional arrays of four doubles to hold each s..

  1/(2n) is less than or equal to [ 1 * 3 * 5 *...* (2n - 1)]

Prove that 1/(2n) is less than or equal to [ 1 * 3 * 5 *...* (2n - 1)] / (2 * 4 *...* 2n) whenever n is a positive integer.

  Verify the correctness of the board content

The mission of this assignment is to implement a "Sudoku game board" and interact with user using a small set of commands that enable to initialize the game board. You program must permit user to see the game board, swap rows,

  How digital media has been used to influence

How digital media has been used to influence

  Describe what each of the two-dimensional characters

Describe what each of the two-dimensional characters might represent and the data that would be held in the array. Also, provide an example array declaration.

  Fresh data instead of requiring web page to reload

Tim O'Reilly, "Web 2.0 is a loose collection of information technologies and applications, plus the web that use them" (Rainer, p. 174). Some 2.0 web sites are AJAX, tagging, blogs, and wikis. AJAX: "is a Web development technique that allows p..

  Write a single command line that defines the variables

How do you write a single command line that defines the variables N=444, M=555, O as the product (multiple of N and M), and then echoes the value of O?

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