10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi frnds
I trying to execute the following ksh,
#!/bin/ksh
file=$OBS_APP_PATH/config/com/uhg/obs/inbound/configs/ServiceFeeDetail.xml
inputFileDir=$OBS_APP_PATH/config/com/uhg/obs/inbound/configs/
echo $file
echo $cntWrd
if
then
echo "Inside IF"
for i in 'ls -t1... (7 Replies)
Discussion started by: balesh
7 Replies
2. Shell Programming and Scripting
Hello,
The INPUT file a.txt contains this
a
a
a
b
b
b
I'm trying to execute this shell script from the Unix Command Line like this:
./k.sh a.txt > newfile.txt
#!/usr/bin/sh
infile="$1"
awk '{print $0;}' < $infile
I get this error message on the command line: (9 Replies)
Discussion started by: script_op2a
9 Replies
3. Shell Programming and Scripting
Hi,
I have a shell script as below:
ORACLE_HOME=/usr/local/opt/oracle/product/dev
export ORACLE_HOME
PATH=$PATH:$ORACLE_HOME/bin:/usr/bin
export PATH
OUTFILE=/export/home/`basename $0`.out
export OUTFILE
export IDEN
df -k . | tail -1 | read a b c d e f
echo $a >> $OUTFILE
echo $b... (4 Replies)
Discussion started by: Abhinav Pandey
4 Replies
4. Shell Programming and Scripting
Guys,
I have a script that should change one of the configuration Parameter in a http accelerator, this config change which will halt http traffic into device. So I have designed a script which should do these changes. But after executing this script, found that one of the input variable is not... (8 Replies)
Discussion started by: raghunsi
8 Replies
5. AIX
Hello Everyone,
I am new to shell scripting and also i am very new to AIX machine
I have a question.
I have shell script which contains the follwing
"ps -e |grep $1
echo $2"
i run this schell script by doing this ./startSehllscript 3444 passed with two parameters .
Accroiding my... (4 Replies)
Discussion started by: swati
4 Replies
6. Shell Programming and Scripting
Hi Friends,
When I try to execute one of my script script1.shl, I am getting the error message as "/tmp/sh1871978.13: cannot create" .
I could not find the specified sh* file in the /tmp directory and I also checked the disk space of /tmp and it is only 60% filled.
Please help me on... (5 Replies)
Discussion started by: mr_manii
5 Replies
7. Shell Programming and Scripting
Hey fellows,
i've got a probkem while executing a command through a scheduled at-job;
Somehow my script starts looping, when triggered throug at;
It doesnt do so if started manually.
Any ideas?
#!/bin/sh
# atrun uid=33 gid=33
# mail www-data 0
umask 22
cd /var/django/webripper/ripper... (2 Replies)
Discussion started by: viktor4124
2 Replies
8. Shell Programming and Scripting
The script startserver.sh has permissions to execute.
Still the nohup command returns error with 'No such file or directory'
Any sugggestions:
$ nohup ./startserver.sh &
Error
$ nohup: appending output to `nohup.out'
nohup: cannot run command `./startserver.sh': No such file or... (4 Replies)
Discussion started by: hemangjani
4 Replies
9. Shell Programming and Scripting
I am trying to submit background jobs using the nohup command on a client system where my session is running under a "master shell" (BASH). If I try to nohup the actual job (ie: nohup MYJOB.BAT > MYJOB.LOG 2>&1 &) the command will fail with a return code of 126 and a "permission denied" message.... (0 Replies)
Discussion started by: christyw
0 Replies
10. UNIX for Advanced & Expert Users
All,
I've a script that I'm trying to execute with crontab. But it was not working. Then when i checked executing the script manually, I've found a strange thing. the script executes only with
sh <SCRIPTNAME> and not with ./<SCRIPTNAME>
I'm using Red hat 7.3, and the error that i'm getting... (2 Replies)
Discussion started by: i2admin
2 Replies