8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
I am little bit confused to write a script. This script needs the options like unix commands
i.e.
–S to start process.
–C to check process.
-u : user
-p : password
like.
script should run like this
./script.sh -u username -p ***** -S processname
there may... (5 Replies)
Discussion started by: atul9806
5 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Can someone point me in the right direction for a manual on the various statement options for 'if'. Basically I have a piece of code which says:
if ]
and I wondered what the -f was. I know the '!' means not equal..
As usual any help much appreciated.. (5 Replies)
Discussion started by: Grueben
5 Replies
3. Shell Programming and Scripting
one thing i was trying to figure out is if you can give people the option to choose what they want to do in a shell script. for example, let's just say that you have a simple shell script to install a couple of programs, can you make it to where you can press a certain key to install a certain... (1 Reply)
Discussion started by: hotshot247
1 Replies
4. Shell Programming and Scripting
i have a script which has 2 options.
a
b
And a has 6 sub options.
i want to write a script which will call the parent script and give options automatically.
examle:
linasplg11:/opt/ss/kk/01.00/bin # startup.sh
/opt/ss/rdm/01.00
Please select the component to... (2 Replies)
Discussion started by: Aditya.Gurgaon
2 Replies
5. Shell Programming and Scripting
I want to add options to my shell script but having problems, my code so far is;
#!/bin/bash
lflag=
iflag=
while getopts 'l:i:' OPTION
do
case $OPTION in
l) lflag=1
lval="$OPTARG"
;;... (1 Reply)
Discussion started by: paulobrad
1 Replies
6. Shell Programming and Scripting
I need help to know how to create a script that takes string options and not only 1 charecter.
I wanted to make a script that takes 'string' options eg. hscript.sh -product XXX -version XXX
I know that I can make a script that takes "1 Charecter " options eg. hscript.sh -m XXX -l XXX -s XXX ,... (2 Replies)
Discussion started by: hanhanbib
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I got a error message
The environmental variable AUTOSYS is not set !
I think I require to to add a path to PATH variable in the startup scripts in the home dir.
I tried using set PATH=
but it is not setting the PATH when i do the echo $PATH , i dont get the new PATH reflected, Is... (5 Replies)
Discussion started by: rajanishshetty
5 Replies
8. UNIX for Dummies Questions & Answers
Hello,
It's possible to change/put some options of the C-shell, like bold-text, date, etc?
I can't found a web site that have a explanation.
Thanks. (10 Replies)
Discussion started by: luiz_fer10
10 Replies