Directory structure and some base files

Assignment Help Macroeconomics
Reference no: EM131214795

Question: Shell Programming

You have created the directory structure and some base files to be used by the Web server and Web site. For the Web site to be created in a production environment, you need to package your commands in a script so that the patching team can run them on the production environment. Your task for this assignment is the following:

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.

A small hint for creating the content of the httpd.conf file: use the echo command in your script. The script is not interactive and should create all objects automatically. Also, the ServerRoot and DocumentRoot should contain correct values based on your directory names.

Reference no: EM131214795

Questions Cloud

Why is follow-up important in any presentation situation : From observing others present themselves, how did that impact your thoughts about self-awareness, reflective practice, and the need to synthesize and present both your discipline knowledge as well as your own professional capabilities?
International accounting standards board : Explain the concepts of capital and capital maintenance as defined in the International Accounting Standards Board's (IASB) Framework for the Preparation and Presentationof Financial Statements (Framework).
What is the load impedance necessary for matched operation : Suppose you are free to adjust the distance between the lines. Can the line be redesigned to be distortionless? If so, how?
Calculate the propagation constant on the line : Properties of long lines. A long line has parameters R, L, C, G = 0, and operates at 100 kHz. The characteristic impedance is Z0 = 300 - j10 Ω and the phase velocity on the line is vp = 2c/3.
Directory structure and some base files : You have created the directory structure and some base files to be used by the Web server and Web site. For the Web site to be created in a production environment, you need to package your commands in a script so that the patching team can run the..
What is the current health status of this minority group : Describe at least one approach using the three levels of health promotion prevention (primary, secondary, and tertiary) that is likely to be the most effective given the unique needs of the minority group you have selected. Provide an explanation ..
Calculate the generalized reflection coefficient : Assume the generator is matched to the line but the load is not. Dimensions are in wavelengths.
Find the probability that the first ace is drawn : Find the probability that the first ace is drawn on the 5th selection. -  Find the probability that at least 5 cards are drawn before the first ace appears.
Find the probability that at least 8 cards are drawn : Find the probability that the 3rd club is drawn on the 8th selection. - Find the probability that at least 8 cards are drawn before the 3rd club appears.

Reviews

Write a Review

Macroeconomics Questions & Answers

  Eco questions answers

However, because the market is so new, reputations for quality have not yet developed, and consumers cannot tell the quality difference between an Ajax digital and a Knockoff digital just by looking at them.

  How to conclude that s2 is a rationalizable strategy

Suppose that in some two-player game, s1 is a rationalizable strategy for player 1. If s2 is a best response to s1, is s2 a rationalizable strategy for player 2? Explain Suppose that in some two-player game, s1 is a rationalizable strategy for pla..

  Explain what is the ricardian model for international trade

Explain what is the Ricardian model for international trade. In your explanation

  When a perfectly competitive firm is in long-run equilibrium

When a perfectly competitive firm is in long-run equilibrium, what is the relationship between the firm's marginal cost, average total cost, marginal revenue, and price?

  Information that pertains to the maroochy incident

The Maroochy event is the case study for this week. Please read and provide analysis in the form of an executive summary. Please feel free to search for other information that pertains to the Maroochy incident and how it was triggered by a SCADA f..

  1 the supply curve s1 and the demand curve d indicate

1. the supply curve s1 and the demand curve d indicate initial conditions in the market for gasoline. a .60-per-gallon

  Which do you think should receive greater priority

Economics - GDP, Unemployment, and Fiscal Policy - Which do you think we are doing the best job of accomplishing in the U.S. currently, and which do you think should receive greater priority?

  Explain gross domestic product

monetary value of all final goods and services produced within a nation in a particular year.

  List and describe the recessions that have occurred

List and describe the recessions that have occurred since 1949. Examine each of those recessions and explain which recession was the most severe and which one was the least severe.

  Maritime insurance company offers insurance policies for

maritime insurance company offers insurance policies for recreational boats. a typical policy will pay the replacement

  Does this film or website depict the country accurately

Summarize the website or the film and describe the important information presented. Does this film or website depict the country accurately? How does the information you find in the film or website compare to the information you have read in your ..

  Contractionary and expansionary monetary policy

Monetary and fiscal policy instruments are used to affect the aggregate demand (AD) in the economy. a. What is the difference between contractionary and expansionary monetary policy? What is the difference between contractionary and expansionary fi..

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