Script used to create another script | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Script used to create another script

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-19-2013
Junaid Subhani Junaid Subhani is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 29 January 2014, 11:53 PM EST
Posts: 90
Thanks: 11
Thanked 0 Times in 0 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 ?

Regards
Sponsored Links
    #2  
Old 01-19-2013
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 17 April 2014, 3:54 AM EDT
Location: Switzerland - GE
Posts: 5,490
Thanks: 148
Thanked 361 Times in 338 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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:52 AM.