10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am a beginner at shell scripting and was trying to attempt this question : Write a shell script to prompt the user to input her/his age and print it on the screen only if the entered age is less than 30 (e.g. 𝑌𝑜𝑢𝑟 𝑎𝑔𝑒 𝑖𝑠 20 𝑦𝑒𝑎𝑟𝑠 𝑜𝑙𝑑
However, when I run the script below and enter in a number... (3 Replies)
Discussion started by: ggrules
3 Replies
2. Solaris
Hi,
I need to disable HTTPD debugging method in one server. I added the entry 'TraceEnable off' in /etc/apache/httpd.conf.
I restart httpd for the changes to take effect, however I realize now that httpd is actually 'disabled'.
When I try to enable httpd, it shows the status as being in... (1 Reply)
Discussion started by: anaigini45
1 Replies
3. Windows & DOS: Issues & Discussions
Dear All,
I want to run a shell script with out logging to putty but configuring it to a keyboard short cut it windows PC. Can this be done? I want this to rename a log in a specified folder in a system
Thanks (8 Replies)
Discussion started by: Chi_SL
8 Replies
4. Shell Programming and Scripting
hi all
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
7 Replies
5. Shell Programming and Scripting
Hi,
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
1 Replies
6. 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 Replies
7. Shell Programming and Scripting
Hi All,
I need to call a java method from a shell script. I know we can use the command
java ClassName
to call the main method in it. But I need to call another method that is there in the class and pass an email to it.
Can I use
java ClassName.MethodName(email)
Any help will be... (4 Replies)
Discussion started by: RahulK
4 Replies
8. Shell Programming and Scripting
Any there any utilities or ways of debugging shell scripts?
I know something like: sh -x <script> (1 Reply)
Discussion started by: proactiveaditya
1 Replies
9. 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
2 Replies
10. Shell Programming and Scripting
Hi,
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.
Regards
Shihab (1 Reply)
Discussion started by: shihabvk
1 Replies