10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
only the weirdest thing happened with me just now. I was debugging a shell script and I found that a step that was supposed to execute later was getting executed prior to another step for no reason. You know any ?
i mean have a look at the following command-
here it tries to grep... (7 Replies)
Discussion started by: leghorn
2. Shell Programming and Scripting
Is there any debugging tool for Unix Shell Script like we have gdb in C/C++?
Also please let me know how to close the thread is it automatic or we have to close it manually.
Thanks and Regards (1 Reply)
Discussion started by: diehard
3. Shell Programming and Scripting
So I have to debug some csh scripts, which to me seems like the most painful task period.
So far I 'echo' in different places to get an idea of whats going on.
I also know the 'csh -x script' command, BUT what do I do when inside that script there is another scipt that is run (this... (0 Replies)
Discussion started by: vas28r13
4. Shell Programming and Scripting
I have been following a tutorial on bash which has proven to be very helpful. However, i am stuck with a command not found issue when asking for a y/n response from the user. Below is the part of code I believe is giving me grief... I have been trying to work through this for 3 hours now.... Please... (5 Replies)
Discussion started by: brokepunk
5. 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
6. Shell Programming and Scripting
Hello, Some one asked me in the inteview.... The question is,
How do we debug the schell script before even running..... Interviewer
told me one clue... There is SET command to accomplish this... Can any
one tell me what kind of set commands.... Thanks. (2 Replies)
Discussion started by: govindts
7. UNIX for Advanced & Expert Users
How to debug the unix shell script? which one is the best way to do the debuging ?
suggession would be appreciate
Bangalore (2 Replies)
Discussion started by: psiva_arul
I would like to seek some expertise of all our AIX experts on board.
1) I would like know how to get a return exit code of a command. I found that there are exist code for each and every command run in AIX but I just can't get the return code from my scripts.
A=`cp /home/abc/abc.txt... (7 Replies)
Discussion started by: kwliew999
9. Shell Programming and Scripting
I was using AIX - ksh shell , and inorder to debug shell script I used set -vx to echo all the commands which are being executed.
Can anybody tell me the corresponding method in HP-UX - in tcsh shell.
Shihab (1 Reply)
Discussion started by: shihabvk
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec