10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I saw one script using the first line as below
I have used -x for debug but couldn't find what is this -E option for ?
Pls let me know what is this -E used for
RL (1 Reply)
Discussion started by: reldb
2. UNIX for Dummies Questions & Answers
In the beginning of Shell script, we give a statement like
I have 2 questions related to this,
1) It could denote about the shell we want to use, what is the real usage of this? My shell script works even without this statement, is it a mandatory one.
2) I'm using... (7 Replies)
Discussion started by: Dev_Dev
3. Shell Programming and Scripting
Can you help me understand -p option with /usr/bin/ksh shell interpreter ?
Panditt (1 Reply)
Discussion started by: deshaipet
4. Shell Programming and Scripting
I have started to write Korn scripts on the client's AIX 4.2 servers and there is this small problem that puzzles me.
I code all my scripts the same way:
- first line contains :
- I do this console command on every scripts:
chmod +x scriptname
But still, on some occasions,... (4 Replies)
Discussion started by: Browser_ice
5. UNIX for Dummies Questions & Answers
I have a problem I don't understand with fuser.
I launch a simple shell script mysleep.sh:
I launch the command fuser -fu mysleep.sh but fuser doesn't return anything excepted:
Then I modify my script switching from #!/bin/sh to #!/bin/ksh
I launch the command fuser -fu... (4 Replies)
Discussion started by: Peuj
6. Shell Programming and Scripting
we have a shell script that we are using in KSH
if ]; then
and it's failing on /bin/sh . Is there a simple way to modify it to work on both . ( not with awk)
Thanks in adv (3 Replies)
Discussion started by: talashil
7. Shell Programming and Scripting
I have a shell (#!/bin/sh) with below piece of code:
echo Staging table ABC_INT_TAB is not present in the schema >> $OUTPUT
Shell is throwning below error and continue to work even after this error... (3 Replies)
Discussion started by: bhush782003
8. Tips and Tutorials
Originally, we only had one shell on unix. When ran a command, the shell would attempt to invoke one of the exec() system calls on it. It the command was an executable, the exec would succeed and the command would run. If the exec() failed, the shell would not give up, instead it... (3 Replies)
Discussion started by: Perderabo
9. Shell Programming and Scripting
Can you please tell me what the command "#!/bin/ksh -e" means?
I tried running a ksh script with "#!/bin/ksh -e" as starting line, and with "#!/bin/ksh" as starting line - they behave differently..
Ramya (2 Replies)
Discussion started by: ramsi_ece
10. Shell Programming and Scripting
I wrote scripting to perform some jobs. (eg, run_job)
Everything works ok when i tested it on my side.
I execute the run_job manually and it works perfectly ok.
When my administrator try to run it using a scheduler job.
He encountered problem of running it.
He said it might be due to... (1 Reply)
Discussion started by: maldini