10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
suppose my script is sample.sh
i have to run using '. ./sample.sh'
as . ./script file always executes the script in my parent shell.
when my sample.sh contains exit command .. my environment is getting closed as am executing in the parent shell ...
please suggest me how can i use... (5 Replies)
Discussion started by: pracheth
gcc is giving me an error when calling exit(-1) in xbuplot.c
cd ../pltlib; make xbuplot.o
make: Entering directory `/media/ios120/chrisd/research/fast-zb/fast/pltlib'
gcc -c -o xbuplot.o xbuplot.c
xbuplot.c: In function ‘xbuinit_':
xbuplot.c:171:5: warning: incompatible implicit... (5 Replies)
Discussion started by: kristinu
3. Shell Programming and Scripting
I have a script that I need to terminate or exit the shell or session completely for the user but the exit only exit from the script and takes the user to the shell
I found this
saying that... (1 Reply)
Discussion started by: kopper
4. Shell Programming and Scripting
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
If 3.1 = "complete" then
if 3.2 = ''COMPlete" then
The... (1 Reply)
Discussion started by: shashi369
5. Shell Programming and Scripting
I have an script reading content of a file and runs whatever command is specified there, as follows
# Supposed to read from a file that commands are listed to be run
# when the server starts for initialization
if ; then
... (2 Replies)
Discussion started by: james gordon
6. Shell Programming and Scripting
I have a query ..
i have 2 scripts say 1.sh and 2.sh
1.sh contains many functions written using shell scripts.
2.sh is a script which needs to call the functions definded in 1.sh
function calls are with arguments.
Can some one tell me how to call the functions from 2.sh?
Thanks in... (6 Replies)
Discussion started by: jisha
7. Shell Programming and Scripting
I have bash script on unix server which i want to call from windows server. Basically i want a command line which will call this script on unix server. Any one has any idea regarding this?
Help really appreciated!!
Roshni. (1 Reply)
Discussion started by: onlyroshni
8. Shell Programming and Scripting
could somebody tell me please how to exit a shell script:
echo "No arguments detected"
echo "still there" # is displayed .. :-( (4 Replies)
Discussion started by: sami98
9. Shell Programming and Scripting
In production I need to pass an exit code from a script that is being called 3 or 4 layers deep. I've created test scripts to play with it until I get it right. As you can tell, this is not my normal job. Perhaps I should have entered this in UNIX for Dummies section. Anyway, I keep losing the... (2 Replies)
Discussion started by: debbiekuch
10. Shell Programming and Scripting
i'm new to unix and straight away i had to start with the script files.
I've a script file which gets called from a menu item on a GUI.
This script file again calls .awk file, in performing some tasks , which also generates certain files.
I modified the files to generate some... (1 Reply)
Discussion started by: Ravi_Kandula