Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Macroeconomics Expert

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.

Macroeconomics, Economics

  • Category:- Macroeconomics
  • Reference No.:- M91968054
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Macroeconomics

Question are shareholders residual claimants in a publicly

Question: Are shareholders residual claimants in a publicly traded corporation? Why or why not? In some industries, like hospitals, for-profit producers compete with nonprofit ones. Who is the residual claimant in a nonp ...

Question how would you manage the costs associated with a

Question: How would you manage the costs associated with a value-creation activity? How do costs of operations relate to the strategy of the organization? The response must be typed, single spaced, must be in times new r ...

Question - recall that the long-run world oil demand

Question - Recall that the long-run world oil demand equation is Upper Q equals 41.6 minus 0.12 Upper PQ=41.6-0.12P and the long-run total oil supply equation is Upper Q equals 26.3 plus 0.071 Upper PQ=26.3+0.071P. The l ...

Question -explain how a crisis that originated in the

Question - Explain how a crisis that originated in the financial sector rapidly spread to the real sector in the US in 2007-08. Explain how the 2007-08 crisis in the US generated a global financial and economic crisis th ...

Question - gatekeeper models of mcos require patients to

Question - Gatekeeper models of MCOs require patients to see a primary care doctor before going to see a specialist. What two key economic principles would be involved in a successful gatekeeper program?

Question - suppose the demand curve for a product is given

Question - Suppose the demand curve for a product is given by Q = 19 - 1P + 2Ps Where P is the price of the product and Ps is the price of a substitute good. The price of the substitute good is $2.40. Suppose P = 0.60. W ...

Question prehistory no names or dates here the key

Question: Prehistory. No names or dates here. The key questions are how early human groups supported themselves; what kind of social, economic, and political institutions they developed to manage the resources of their e ...

The economics of cities and regions assignment - case study

The Economics of Cities and Regions Assignment - Case Study - Local Government and Economic Planning Local government and economic planning Background: This assignment asks you to link planning, the economy and local gov ...

Question - givensetup cost for a production equipment-625

Question - Given: Setup Cost for a production equipment-$625/ setup New setup cost -$25 per setup for a lot size of 100. Based on the data given above, answer the following questions. i. What was the lot size for the old ...

Question according to your textbook in the aggregate supply

Question: According to your textbook in the Aggregate Supply (AS) theory an increase in output leads to an increase in the price level. What is the assumed causality? Explain why this should be considered flawed? The res ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As