10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I am totally a newbie to any programming languages and I just started an entry level job in an IT company. One of my recent tasks is to create a script that is able to show the log file of linux service (i.e. ntpd service)
lets say, if I run my script ./test.sh, the output should be... (3 Replies)
Discussion started by: xiaogeji
3 Replies
2. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
3. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
4. Shell Programming and Scripting
can anyone help identify where the issue is here?
awk 'BEGIN { c="perl -e 'print scalar(localtime("'${EPOCHTIME}'")), "\n"'"; c|getline; close( c ); print $2" "$3" "$4" "$6; }'
bash: syntax error near unexpected token `('
can't seem to figure it out. i tried this:
awk 'BEGIN {... (5 Replies)
Discussion started by: SkySmart
5 Replies
5. Shell Programming and Scripting
I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist.
diff=$1$2.diff
id=$2 new=new_$diff
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff | awk... (2 Replies)
Discussion started by: Ashunayak
2 Replies
6. Shell Programming and Scripting
Hi All,
I have new for shell scripting.
Problem : I have one scrip at serv1 and path of server is /apps/dev/provimage/scripts and script name:extract_ancillary.bat.
I need to call this script at server2(my working server) and execute at server2 .
Please let me know how to build the... (5 Replies)
Discussion started by: Vineeta Nigam
5 Replies
7. Shell Programming and Scripting
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Discussion started by: orablue
1 Replies
8. AIX
I am calling this paramters from a controlfile
CONTROLFILE="/u01/scripts/admin/filesystem.ctl"
SEARCH_PATH="`grep SEARCH_PATH $CONTROLFILE | awk -F: '{print $2}' `"
FILE_TYPE="`grep FILE_TYPE $CONTROLFILE | awk -F: '{print $2}' `"
DEL_RETENTION_SIZE="`grep DEL_RETENTION_SIZE $CONTROLFILE |... (5 Replies)
Discussion started by: javeedkaleem
5 Replies
9. Shell Programming and Scripting
am trying to place a script from one hp11-unix box (where it works) onto three others where it won't.
I am using csh and in the script I use the lines
set F_SYSTEMS=(/dbs01 /dbs02 /dbm01 /dbm02 /ora_home/app/oracle)
on this one the three others throw up on pulling the files. there should be... (2 Replies)
Discussion started by: cat55
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
I'm trying to install Oracle 10g in Solaris 10.
As required in the instructions, I set the DISPLAY variable:
$ DISPLAY=192.168.150.128:0.0 ; export DISPLAY
when run the runInstaller in a terminal, it displays an error related to DISPLAY variable. :(
Any ideas??
Thanks. (2 Replies)
Discussion started by: ffpradella
2 Replies