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

  What channels did companies use to communicate

What channels did companies use to communicate prior to the electronic age? Do you think that communication in businesses was more effective prior to the electronic age

  Managing risksshow and explain how the risk management of a

managing risksshow and explain how the risk management of a large project is different from a small project. explain

  Conduct a research regarding using social media for

conduct a research regarding using social media for business that includes problem data and sources sub problems

  Is this a good investment

(a) Is this a good investment? (b) How sensitive is your conclusion to your assumptions about the number of members you expect to have? (i.e. How much margin for error do you have on this estimate?)

  Identify new prospects

Do you think that mark reps would view the website as competing for their consumers' purchases and a source of conflict or would they think that it helps them to promote mark and identify new prospects? Explain your thinking.

  Question about force field analysiscan you help me get

question about force field analysiscan you help me get started with this assignment?create a force field analysis to

  Answer to expectancy theoryexamine ideals and theories of

answer to expectancy theoryexamine ideals and theories of making a workable plan to improve the emotional skills and

  Theory of constraints bottlenecks in tube

theory of constraints bottlenecks in tube manufacturingbottleneck in a tube manufacturing process.explain theory of

  Intentional and unintentional injuries

Select one of the age groups discussed in this unit (adolescents, adult, or elderly) and create a community health strategy for dealing with intentional and unintentional injuries (motor vehicle accidents, suicide, or violence).

  Explain how can companies effectively approach this relation

Illustrate what impacts the exchange relationship when the customer does not particularly need to BE a customer. Explain how can companies effectively approach this relationship? List the resources in the correct APA writing style.

  International business expansion opportunity

2- Description of the Venture:  a. Identify the key issues in the scenario and the goals of your expansion 3- Literature Review

  Deliberate reasons a sales representative

Deliberate reasons a sales representative would try to sell at both the top and the bottom of the price range.

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