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.:- M91970778
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Macroeconomics

Question - quasimodo consumes earplugs and other things his

Question - Quasimodo consumes earplugs and other things. His utility function for earplugs (E) and other consumption (C) is given by U(E, C) = 100E - (E^2)/2 + C Normalize the price of a unit of other consumption, C, to ...

Question instruction there is a dataset attached called

Question: Instruction: There is a dataset attached called "caschool", it is an excel file. I also upload the description of the data. It is the explanation of the data. If you don't read it you won't be able to answer qu ...

Question 1 suppose the marginal propensity to consume is 06

Question: 1. Suppose the marginal propensity to consume is 0.6, the marginal tax rate is 0.25, and the the marginal propensity to import is 0.2. What is the multiplier? 2. Suppose that in the economy described in the pre ...

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 jones is one of 100000 corn farmers in a perfectly

Question: Jones is one of 100,000 corn farmers in a perfectly competitive market. What will happen to the price she can charge if: a. The rental price on all farmland increases as urbanization turns increasing amounts of ...

Question explain these questionscompare the marginal

Question: Explain these questions Compare the Marginal Revenue Curve for a firm in the PC-market with the Marginal Revenue Curve for the monopolist. Explain in your own words why a company that creates a negative externa ...

Question mandy has an income of 800 in period 1 and will

Question: Mandy has an income of $800 in period 1 and will have an income of $500 in period 2. Her utility function is U(c 1 , c 2 ) = c 0.80  c 0.20 , where c 1  is her consumption in period 1 and c 2  is her consumptio ...

Introductory macroeconomics assignment -questions1 suppose

Introductory Macroeconomics Assignment - Questions 1. Suppose that the election of a popular candidate suddenly increases people's confidence in the future. Use the model of aggregate demand and aggregate supply to analy ...

Question - the question about african economyin no more

Question - The question about African Economy In no more than about half a page to a page each, answer the following questions: What are your preconceptions of Africa? When you think of Africa, what comes to mind? Be spe ...

Question - suppose an economy is described by the following

Question - Suppose an economy is described by the following aggregate demand and short-run aggregate supply curves. The potential level of output is $10 trillion. Aggregate Quantity of Goods and Services Price Level Dema ...

  • 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