Search Results

Search: Posts Made By: welldone
1,648
Posted By welldone
Franklin52, No, $ORACLE_HOME is set to correct...
Franklin52,
No, $ORACLE_HOME is set to correct value, because the script starts DB when run manually, however it fails to auto start DB on server reboot.
1,648
Posted By welldone
Thanks Corona for quick reply, The log files...
Thanks Corona for quick reply,
The log files from /u/bin/oracle_start shows as waiting for ASM to be up before it can bring the DB up. Now, we have the /etc/init.d/init.cssd on server, I want to...
1,648
Posted By welldone
Help with shell script 'CASE $'
Hi,
I have a script that is called by /etc/init.d/S99oracle and the contents of this script are below.

$ cat ../init.d/oracle
### BEGIN INIT INFO
# Provides: oracle
# Required-Start: $ALL
#...
12,433
Posted By welldone
Joeyg, Thank you very much for your quick...
Joeyg,
Thank you very much for your quick reply.

Your command gives the result as below

ls -1tr | head -1
databasefiles_DB_r8n64lfn_11112_20120317

But what if I have more than one old...
12,433
Posted By welldone
Shell script to remove oldest file
Hi,
I have two set of files in a directory called /tmp/backup. I want to write a script to remove the oldest of these two, so that there is space available for a newer similar backup file.

For...
24,817
Posted By welldone
Script to read file size and send email only if size > 0.
Hi Experts,
I have a script like

$ORACLE_HOME/bin/sqlplus username/password # << ENDSQL
set pagesize 0 trim on feedback off verify off echo off newp none timing off
set serveroutput on
set...
4,099
Posted By welldone
TAB key in AIX
Hi,
I want to use the TAB key to list directory (or go to directory or file).
For example,

dir1/dir2/file1

now if i do

$ cd /d and hit TAB it should go to 'dir1'.

Thanks
2,160
Posted By welldone
Logic in Shell script required
Hi,
I have the following in my shell script

sqlplus << EOF username/password @$SCRIPTS_DIR/refresh.sql > /home/oracle/sql/refreshsql.log
EOF

RETCODE=$?

if [ $RETCODE -eq 0 ]; then
...
17,883
Posted By welldone
du -k . display size wise
Hi,
I want to display all the directories with ascending order in size. For example,

$ du -k .

1111111 ./dir1
222222222 ./dir2
333333333 ./dir3
444444444 ./dir4
...
4,074
Posted By welldone
Difference in Shells
Hi,
What is the difference between Bourne,Korn shell, C shell, BASH?
Thanks
2,020
Posted By welldone
Hi fpmurphy, Immediately after the scp command....
Hi fpmurphy,
Immediately after the scp command.
Thanks

---------- Post updated at 09:49 AM ---------- Previous update was at 09:46 AM ----------

Hi fpmurphy,
I dont think there is...
2,020
Posted By welldone
scp -Bpq in Shell Script
Hi,
I have following statement in my script

scp -Bpq /u01/gro_backup_lisle/dump/weblogic.dmp host2:/oradata/dump/

and i get the following error

(publickey,password).
lost connection
...
4,396
Posted By welldone
Smbclient on Unix
The directory on windows server is renamed and I need to change the directory location on smbclient on unix. How do i do that, please advice.
5,431
Posted By welldone
Hi Scottn/fpmurhpy, No there is no export...
Hi Scottn/fpmurhpy,

No there is no export of username/password required in the script because it contains the original username and password.

This script was running and since couple of days...
5,431
Posted By welldone
shell script exiting before completing
I have a script which has the following statement,

/opt/oracle/product/9i/bin/sqlplus << EOC >> $LOG_FILE 2>&1
username/password ---- Enters the SQL prompt...
2,712
Posted By welldone
Thank Vidyadhar. Great It works
Thank Vidyadhar. Great It works
2,712
Posted By welldone
Thanks Vidhyadhar, but doesn't work. ...
Thanks Vidhyadhar,

but doesn't work.

mv: cannot access ls [Dd][Mm]030.[Tt][Xx][Tt]

---------- Post updated at 04:32 PM ---------- Previous update was at 04:29 PM ----------

Hi...
2,712
Posted By welldone
Shell script to find files
Hi Experts,
I am trying to write a shell script that should

1. Find files with name (ab030.txt,Ab030.TXT,AB030.TXT,ab030.TXT,AB030.txt)
2. If any of the above found, rename it to AB030.TXT

...
Showing results 1 to 18 of 18

 
All times are GMT -4. The time now is 07:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy