Завершено

unix shell script

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 [url removed, login to view] 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.

Квалификация: Техника, Java, Linux, Shell Script, UNIX

Показать больше create shell script, shell script

О работодателе:
( 121 отзыв(-а, -ов) ) Calcutta, India

ID проекта: #9972973

Поручен:

fenixdevel

Hello! What is your budget for this project? I prefer fixed prices projects. Also it does not important for you how much time it is required to develop the script - you need the result. > Create the directory str Больше

₹666 INR / час
(4 отзывов(-а))
3.6

18 фрилансеров(-а) в среднем готовы выполнить эту работу за ₹324/час

₹526 INR / час
(17 отзывов(-а))
4.7
javierarenas

I have 20 years dealing with shell scripts in Linux and Solaris, so I wrote many scripts before. I am sure I can write this.

₹277 INR / час
(4 отзывов(-а))
2.7
prashant31892

Hi I have over 3.5 years of experience in J2EE and many java related framework like JSF,ZK,Spring,Hibernate,Swing and many JavaScript framework like Jquery,Angular JS and master js .I would like to work with you fo Больше

₹333 INR / час
(3 отзывов(-а))
2.1
₹277 INR / час
(2 отзывов(-а))
0.7
linnetprog

Look [login to view URL] for more information .

₹333 INR / час
(1 отзыв)
0.4
navneet101983

I have an experience of 9 years in Java, J2EE and Data Science (Big Data). All these were in core engineering (not in services) product deployment. Since all project were deployed in linux environment and hence it requ Больше

₹277 INR / час
(0 отзывов(-а))
0.0
₹277 INR / час
(0 отзывов(-а))
0.0
varavini

A proposal has not yet been provided

₹122 INR / час
(0 отзывов(-а))
0.0
mqdoume

This easy to done and can be delivered very soon also we can have a deal with fixed cost and time to deliver

₹255 INR / час
(0 отзывов(-а))
0.0
₹277 INR / час
(0 отзывов(-а))
0.0
jenenliu

A proposal has not yet been provided

₹333 INR / час
(0 отзывов(-а))
0.0
madissa

A proposal has not yet been provided

₹277 INR / час
(0 отзывов(-а))
0.0
jrahamathulla

Are you searching for a software engineer with a proven ability to develop high-performance applications and technical innovations? If so, please consider my enclosed resume. Since 2006, I have served as a software Больше

₹333 INR / час
(2 отзывов(-а))
0.0
shintogeorge

Hi, I am linux admin with 2+ yr experience, and good knowledge in bash scripting. I can do this job easily.

₹388 INR / час
(0 отзывов(-а))
0.0
manavalanmichale

I am working as Linux Engineer more than 5 Years IT Infrastructure field. I worked in Web and e-Commerce Based projects and Banking Sector Projects. I have lot experience Build and Port new Web server On cloud server Больше

₹277 INR / час
(0 отзывов(-а))
0.0
₹277 INR / час
(0 отзывов(-а))
0.0
naveenjoshi2687

A proposal has not yet been provided

₹333 INR / час
(1 отзыв)
0.0