Search Results

Search: Posts Made By: Squeakygoose
4,938
Posted By Squeakygoose
Well, I mean ssh access sometimes w/key and...
Well, I mean ssh access sometimes w/key and sometimes wo/key TO the same account and node.

The username on all nodes is the same ("oracle"). What I want is passwordless login from other nodes...
4,938
Posted By Squeakygoose
ssh: require passphrase from some servers but not others
We have a number of linux clusters running Oracle. The clusters require that all member nodes have promptless/passwordless login through ssh (ie. the keys were created with null passphrases). We also...
Forum: What is on Your Mind? 03-25-2009
12,933
Posted By Squeakygoose
Not the WORST but I have done this before: ...
Not the WORST but I have done this before:

rm -f core *
instead of
rm -f core*
17,550
Posted By Squeakygoose
Ahhh, so it works back from the end until it hits...
Ahhh, so it works back from the end until it hits a non-number character.

Brilliant, thanks!
17,550
Posted By Squeakygoose
sed -e "s/[0-9]*$//" works perfectly. what...
sed -e "s/[0-9]*$//" works perfectly.

what does the "*$" actually mean?

Thanks!
17,550
Posted By Squeakygoose
sed: removing any and all trailing digits?
We have a large number of oracle database related scripts that utilize the environment variables $ORACLE_SID and $DBNAME. In a single instance database the $ORACLE_SID is the same as the database...
52,874
Posted By Squeakygoose
Thanks. Though I came up with this, seems to work...
Thanks. Though I came up with this, seems to work well:


if test `find monitor_running_flag -mmin +60`
52,874
Posted By Squeakygoose
BASH condition for "File older than 1 hour"
I have a monitor script that executes every 5 minutes. I am adding functionality that will detect if a previous execution is hung. I have managed to do that by using a flag that is created when the...
8,314
Posted By Squeakygoose
Confirmed. feeding the pipe some dummy text (with...
Confirmed. feeding the pipe some dummy text (with an implicit EOF) before removing it causes the script to exit correctly:


cleanup()
{
if [ ${compress:-N} = Y ]
then
echo "fail" >>...
8,314
Posted By Squeakygoose
ok, a little more diagnosis: The Y flag on...
ok, a little more diagnosis:

The Y flag on the script is to indicate whether the dump should be compressed via pipe. executing the script with: "/u01/ct_scr/export.sh TAXTST FULL N" exits just...
8,314
Posted By Squeakygoose
No, nothing: > ps -ef|grep 23241 oracle...
No, nothing:


> ps -ef|grep 23241
oracle 23241 1 0 10:04 pts/1 00:00:00 /bin/bash /u01/ct_scr/export.sh TAXTST FULL Y
oracle 24421 9040 0 10:22 pts/1 00:00:00 grep 23241
8,314
Posted By Squeakygoose
Shell script process remains after "exit 1"
I have a script that performs an oracle export:


<snip>
if [ ${exp_type} = FULL ]
then
exp / full=y file=${exp_file} log=${exp_log} direct=y feedback=1000000 STATISTICS=NONE...
9,983
Posted By Squeakygoose
Followup Answer
Turns out mailx isn't as intelligent as I thought. The save command simply copies the message from /var/spool/mail/user to the file specified, no decoding is performed. I had previously thought the...
9,983
Posted By Squeakygoose
mailx saved messages are unreadable (base64)
I am trying to parse emails sent from a blackberry. I am using fetchmail to download email through IMAP from my exchange server and then forward to local Linux mail. (This part works fine.)

When...
Showing results 1 to 14 of 14

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