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: Explain what the script will do and who is the author in a comment area. cd to your home directory Show your current working directory. List the contents of the current directory. Create the directory structure and create the files as defined in the previous Individual Project. 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. In the end, generate a directory listing showing the structure and content of the new directories. 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. If you need to test that directories are created or not based on them already existing, remove files and directories ahead of time to ensure you know the exact state of your environment. Finally, save your script in a Word document as “yourname_DB5.docx”. Your primary post should include the following: A paragraph discuss your experience with the exercise Attach your Word document as “yourname_DB5.docx” to your Discussion Board primary response Here are some tips if you have problems to submit your Word document: Make sure there are some texts (not only the screenshots) in the Word document. Try to save as Word 97-2003 Document (*.doc) and re-submit. Try to submit with a different Web browser. Try to submit from a different computer. Responses to Other Students: Respond to at least 2 of your fellow classmates with a reply of 2 paragraphs about their Primary Task Response regarding items you found to be compelling and enlightening. To help you with your discussion, please consider the following questions: What did you learn from your classmate’s posting? What additional questions do you have after reading the posting?

Don't use plagiarized sources. Get Your Custom Essay on
Shell Programming
Get a 15% discount on this Paper
Order Essay
Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with My Paper Support
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
English 101
I'm glad i came to you guys
Customer 452519, May 11th, 2021
Nursing
Writer went above and beyond. Can't believe how much work they put in for the price.
Customer 452707, July 10th, 2022
Other
GOOD
Customer 452813, July 5th, 2022
Social Work and Human Services
Excellent Work!
Customer 452587, August 24th, 2021
Nursing
Excellent PowerPoint! Thank you!
Customer 452707, June 29th, 2022
Database design and optimization
thanks for busting this out so expeditiously. I hope that I get a good grade.
Customer 452715, February 19th, 2022
Education
Thank you so much for your help so I do not go insane from trying to do this. I have 2 more courses to do. Probably will be using you again.
Customer 452675, November 28th, 2021
Social Work and Human Services
Thank you
Customer 452559, July 2nd, 2021
Social Work and Human Services
Excellent work
Customer 452587, September 4th, 2021
Nursing
Thank you to the writer and also thank you to the support team I got an A for the paper
Customer 452635, June 17th, 2022
Nursing
Fantastic work on this project as usual.
Customer 452707, July 5th, 2022
nursing
Thank you!
Customer 452707, April 2nd, 2022
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat