Sponsored Content
Full Discussion: Getting parameters
Top Forums Shell Programming and Scripting Getting parameters Post 302573551 by a12ka4 on Tuesday 15th of November 2011 12:51:33 AM
Old 11-15-2011
Getting parameters

Hi,

I have 2 scripts one master.sh and child.sh. The master runs on a separate server and pushes the child script to the desginated server and runs it.The child script configures the designated server for our day to day use and it has lot of interactive questions which help the configuration.when i run the master script on a remote server I am not able to see the interactive questions in the child script.

Please help in passing on the paramters to the child script

Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need Parameters Help.

I can test for one parameter but anything more then that and I get an Error. I forgot I run this batch in a shell #!/bin/sh ------------------------------------------------------------------------- Write a batch program that accepts a keyword as a parameter and finds all the files... (3 Replies)
Discussion started by: james2006
3 Replies

2. Shell Programming and Scripting

parameters

I have a script that needs to check if the given parameters are a combination of 0123456789 and not a word or another irelevant character.please help (6 Replies)
Discussion started by: aekaramg20
6 Replies

3. Shell Programming and Scripting

Input parameters

I have a script which take 3 input parameters 1st - a date (i.e. current date) 2nd - type (i.e. A) 3rd - limit (i.e. 40) normally the date parameter would be current date, so I thought I could do this calculate.sh $(date +%Y-%m-%d) A 40 however, it seems like it can't be done,... (3 Replies)
Discussion started by: mpang_
3 Replies

4. HP-UX

Need to look at Kernel parameters

Hello all, Can anyone tell me the command line I can use to look at the following Kernel parameters: nfile maxfile maxfile_lim I'm using the Reflection manager connection to my Unix box so I can't use SAM. (3 Replies)
Discussion started by: impunchdrunk
3 Replies

5. Shell Programming and Scripting

parameters

i'm supposed to come up with a script that -accepts a directory as an optional command line parameter -display an error message and terminates if more than one parameter is provided -use the current directory if no parameter is provided -displays an error message and terminates if the provided... (4 Replies)
Discussion started by: jaay
4 Replies

6. Shell Programming and Scripting

More than nine parameters

Hi, please tell me the systax for passing 11 variables(including 4compulsory variables) in shell program. ORA_USERPASS=`echo $1` USERID=`echo $2` USERNAME=`echo $3` REQUESTID=`echo $4` P5=`echo $5` P6=`echo $6` P7=`echo $7` P8=`echo $8` P9=`echo $9` shift P10=`echo $9` shift... (3 Replies)
Discussion started by: anitha126
3 Replies

7. AIX

tuning network parameters : parameters not persist after reboot

Hello, On Aix 5.2, we changed the parameters tcp_keepinit, tcp_keepintvl and tcp_keepidle with the no command. tunrestore -R is present in inittab in the directory /etc/tunables we can clearly see the inclusion of parameters during reboot, including the file lastboot.log ... (0 Replies)
Discussion started by: dantares
0 Replies

8. Solaris

Kernel Parameters

Dear All, I have weblogic Portal Installed in the Server solaris 10. How can i verify whether all the kernel parameters are available for this Software and also another question is How to crosscheck a server ( Solaris 10 Sparc ) whether it has all the required kernel parameters. ... (2 Replies)
Discussion started by: jegaraman
2 Replies

9. Shell Programming and Scripting

Playing with parameters

Can someone help me of doing something like this send.sh #!/bin/bash for last; do true; done echo $* | gammu sendsms TEXT $last every thing is good except that when i launch the script like this ./send.sh This is the message i want to send +63922XXXXXXX it turned out the message of... (2 Replies)
Discussion started by: arturo322
2 Replies

10. UNIX for Advanced & Expert Users

parameters file

Hi, on AIX 6.1 I have a shell script that calls another shell which have some parameters. Say like the following : ##This is main script############ myparameters.sh command1 command2 ..... .... And here myparameteres.sh : export ORACLE_SID=MYDB export... (6 Replies)
Discussion started by: big123456
6 Replies
nissetup(8)						      System Manager's Manual						       nissetup(8)

NAME
nissetup, ypsetup - Sets up the Network Information Service (NIS) environment SYNOPSIS
/usr/sbin/nissetup /usr/sbin/ypsetup DESCRIPTION
The nissetup (formerly ypsetup) script configures and runs NIS on your system. You can use nissetup to initially set up your NIS configura- tion, to change your current NIS configuration, or to remove your NIS configuration. NIS provides a distributed data lookup service for sharing data among networked systems. Before running nissetup, make sure that your system is connected to a local area network and that the network is configured and running. You must know the name of your NIS domain and your system's role in the domain (master server, slave server, or client). Security Note You invoke nissetup from the SysMan Menu. See sysman(8) for more information. When using the nissetup script to set up a NIS server that is running with enhanced security, you must answer yes to the question about locking the domain name and authorized servers (the ypbind -S option). If you are setting up a master server, the server is bound to itself (done by default). If you are setting up a slave server, the server is bound to itself done by default) and optionally to the master server and any other slave servers. If your system will be the master server for your NIS domain, be sure no other master exists for your domain and that the NIS database files are in the /var/yp/src directory. Note Remove the root entry, if it exists, from the passwd database file. If your system be will be a slave server or client, be sure a master server is already set up for your NIS domain. FILES
Specifies the command pathname NIS parameters pertinent to a specific system Default NIS Databases In the /var/yp/src directory, the default databases are: Group database Host database Sendmail alias database Network group aliases data- base Network database Password database Protocol database RPC database Service database SEE ALSO
Commands: domainname(1), ypwhich(1), svcsetup(8), sysman(8), sysman_station(8), ypbind(8), yppasswdd(8), ypserv(8), ypxfr(8) Files: svc.conf(4) Networking: nis_intro(7), nis_manual_setup(7) Network Administration nissetup(8)
All times are GMT -4. The time now is 09:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy