Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Script used to create another script

Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 01-19-2013
Junaid Subhani Junaid Subhani is offline
Registered User
Join Date: Aug 2012
Last Activity: 23 October 2016, 10:02 PM EDT
Posts: 182
Thanks: 50
Thanked 2 Times in 2 Posts
Wrench Script used to create another script

Hi guys .

I want to create a script for POST INSTALLATION for new machines being deployed in my Data Center.
I want to create a script post_install.sh that further creates a new script(s) that are essential for system connectivity e.g. mails etc to other systems.

How can I achieve this ?

Sponsored Links
Old Unix and Linux 01-19-2013
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Join Date: Sep 2005
Last Activity: 26 October 2016, 12:16 PM EDT
Location: Switzerland - GE
Posts: 6,311
Thanks: 240
Thanked 518 Times in 482 Posts
I dont know how you expect your script to be intelligent enough to guess what to put in it ... And if you know you want in it what is stopping you to write the script and call the second from the first.
If because you are missing values that come from the first then it is just a question of passing them as argument to the second
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
CGI Perl script to execute bash script- unable to create folder rakeshkumar Programming 0 07-19-2012 03:10 AM
Bash: How can a script create a script? LessNux Shell Programming and Scripting 3 03-06-2012 09:30 AM
Help Create dynamic ksh script from a script pcpinkerton Shell Programming and Scripting 0 02-19-2012 12:42 PM
Create script to add user and create directory pbhound Homework & Coursework Questions 12 04-01-2011 09:02 AM
create a shell script that calls another script and and an awk script magikminox Shell Programming and Scripting 0 06-26-2008 02:50 AM

All times are GMT -4. The time now is 06:49 AM.