We're Open
+44 7340 9595 39
+44 20 3239 6980

Shell Programming

100% Plagiarism-Free Work & Confidential Service

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.

Need a Fresh, Custom-Written Answer?

Get professionally prepared work tailored to your requirements.

Original content • Confidential service • Tailored to your instructions

Details

  • Title: Shell Programming
  • Price: £ 105
  • Post Date: Fri, 03 Jan 2025 18:41:29 +0000
  • Category: Assignment
  • No Plagiarism Guarantee
  • 100% Custom Written

Customer Reviews

Shell Programming Shell Programming
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

The rates are a bit expensive for me of the essay writing service but the overall look is amazing. The references and formatting are done beautifully. So, I feel that the high rates are worth all these qualities. I want to thank you for great help.
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

I had wasted so much money for poor quality work on other sites that I became despair to find a reliable one. I landed on Insta Research and finally, I am fully satisfied after ages from their quality of the work and instant response. Also, the rates are handy. Great going guys!