10 More Discussions You Might Find Interesting
1. AIX
friends
and I can validate whether to run the shell has input parameters m event date, I occasionally happen something like this does not work
if $ 1 is null then
echo has entered input parameters
else
echo "parameter ok"
fi (2 Replies)
Discussion started by: tricampeon81
2 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
I'm running Debian on a ThinkPad X1/2G and all seems to be running well.
However, it's got a SSD that needs the trim command run at regular intervals.
I'm implementing this using cron and a shell script, as recommended.
The cron job entries are as follow:
0 * * * *... (8 Replies)
Discussion started by: ASGR
8 Replies
3. Shell Programming and Scripting
Hello Experts,
I have a requirement to pass some parameters to Linux cron tab.
For ex: My default cron entry looks like this as below:
-------------------------------
55 10 * * --... (7 Replies)
Discussion started by: MaheshChaudhari
7 Replies
4. Shell Programming and Scripting
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... (4 Replies)
Discussion started by: a12ka4
4 Replies
5. AIX
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
6. Shell Programming and Scripting
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. Shell Programming and Scripting
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
8. Shell Programming and Scripting
Hi,
I am trying to write a script which will read inputs form user and process those files, I have issue reading the input parameters in a loop. Following is the script...
I run the script as ./Script.sh 3 table1 table 2 table3
NumberOfTables=$1
let TableCount=1
while
do
... (3 Replies)
Discussion started by: mgirinath
3 Replies
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
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