Question regarding the shell programming

Assignment Help Business Management
Reference no: EM131213530

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: EM131213530

Questions Cloud

Fault tolerance and synchronous communication : For this exercise, reconcile these two principles by studying the architecture of fault tolerant applications.
Briefly describe the formation of a natural levee : If you were in charge of planning the construction of a large dam, what are some of the environmental and cultural costs (other than monetary - please don't discuss economic costs of dams as your primary content) that you would consider undesirabl..
Explain exactly what happens in the network during execution : Implementing network awareness. Explain exactly what happens in the network (what messages are sent and when) during the execution of the distributed lexical scoping example given in section 11.4. Base your explanation on the distributed algorithm..
Evaluate the validity of the given statement : You expect the spot exchange rate in 6 months to be 3.26 Polish zloty per U.S. dollar. - Evaluate the validity of the following statement:
Question regarding the 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 the..
Analyse the issues using management accounting techniques : ACC 305 Management Accounting Research & Analysis. Analyse the issues or problems (in a given scenario) using management accounting techniques and tools, and formulate recommended solutions
Calculate the relevant returns and explain answer : Financial investors in all countries have the expectation that the spot exchange rate in 90 days will be 0.7100 euro/U.S. dollar. -Are investors expecting the euro will appreciate or depreciate during the next 90 days?
What is the current value of apis common stock : The company currently has a beta of 1.5, the rate of return for the market is expected to be 8% and the risk-free rate is currently 3%. Given this scenario, what is the current value of API's common stock?
Mechanisms of planning and control : 1. Briefly compare and contrast the mechanisms of planning and control used in a Waterfall development project and those used in iterative development projects.

Reviews

Write a Review

Business Management Questions & Answers

  Explain why is the ram such an effective tool

Explain Why is the RAM such an effective tool for Project Managers and What are some of the typical responsibilities assigned on a RAM?

  Given potential for demographic fault lines in negotiation

Given the potential for demographic fault lines in negotiating these changes, what would you advise as a strategy for managing diversity issues for program leaders?

  Evaluating a job candidate credentials

Suppose you are a manager within marketing section of a large, high technology computer manufacturing firm. You are conducting face to face job interviews for an entry level marketing position,

  The charts of accounts for kelly consulting

The charts of accounts for kelly consulting is shown in exhibit 9, and the post-closing trial balance as of April 30,2016, is shown in exhibit 17. For each account in the post-closing trial balance, enter the balance in the appropriate balance column..

  This assignment will allow you to evaluate and analyze

this assignment will allow you to evaluate and analyze cultural issues that may arise when communicating in

  The operating budget

The Operating Budget

  Provide tardis travel with a real world example

Advise TARDIS Travel on options for building their online business in-house with existing staff or outsourcing the entire operation. Outline for them which strategy you believe is in the company's best interest.

  Posting discusses virtual collaboration

In what business situation would video conferencing be most useful to virtual collaboration and identify its particular advantages and disadvantages.

  Find out the number of pies to bake to maximize the expected

Construct the decision tree that can be used to find out explain how many pies the bakery should bake daily.Find out the number of pies to bake to maximize the expected daily profits.

  Supportive leadership behaviorswhat is it why do most

supportive leadership behaviorswhat is it? why do most employees prefer it and could you give a couple of examples

  Compute the ratio of net income to stockholders equity

Compute the ratio of net income to stockholders' equity and comment on the trend. Explain why there may be a difference in the trends between parts a and b.

  Numeric or currency fields that can be added

1. Design on paper a database for a business purpose.  Describe the database and its purpose in a word document.  Also - in the word document explain each of the parts of the database as listed below.  I can read your explanations as I look at eac..

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