Search Results

Search: Posts Made By: abdul.irfan2
713
Posted By abdul.irfan2
wow...couple of simple spaces drove me nuts for...
wow...couple of simple spaces drove me nuts for an hour...Thank you for your help..May GOD bless you...
713
Posted By abdul.irfan2
Matching string
Hello all,

i am trying to match a string and based on that proceed with my script or error out...
i have a file called /tmp/sta.log that will be populated by oracle's spooling..it can
have a...
498
Posted By abdul.irfan2
matching in loop
hello all,

this is probably very simple for you guys but i am trying to achive something like below...i have 2 files...file 1 has entries like below
DB1:NS
DB2:NS
DB3:NS
DB4
DB5:NS

and...
1,487
Posted By abdul.irfan2
use cut or awk to print line after "/bin"
Hello all,

i am trying to use cut or awk to make my below lines to

From

$ ps -ef|grep tns|grep -v grep |grep LISTENER_TEST|awk '{print $9}'
/oracle/ORAHOME/test/112/bin/tnslsnr

to
...
6,863
Posted By abdul.irfan2
Anything on the above ?
Anything on the above ?
6,863
Posted By abdul.irfan2
Hello all again, I know this is an old post,...
Hello all again,

I know this is an old post, but wanted to bring it up. This works perfectly fine for putty....i have something like below that change my putty title when i do
ssh...
6,863
Posted By abdul.irfan2
THANK YOU GUYS...You are awesome...
THANK YOU GUYS...You are awesome...
6,863
Posted By abdul.irfan2
Thanks...its already using hostname in the...
Thanks...its already using hostname in the code...

ssh()
{
set -A args "$@"
#try find out destination
while [[ $1 = -* ]]; do shift; done

printf '\033]0;%s\007'...
6,863
Posted By abdul.irfan2
Thanks, atleast past though one stage..or the...
Thanks, atleast past though one stage..or the main one...but when i exit out..the title remains the same as ServerB....and i get below....


servername:/home/oracle> exit
logout
Connection to...
6,863
Posted By abdul.irfan2
Same thing...
Same thing...
6,863
Posted By abdul.irfan2
Thank you for your help...but seems like still...
Thank you for your help...but seems like still giving my same or similar issue...

$ cat test.sh
ssh() {
local args
args=( "$@" )
#try find out destination
while [[ $1 = -* ]];...
6,863
Posted By abdul.irfan2
i saved your funtion in a file and executed it...
i saved your funtion in a file and executed it that way...but complaints about this error...


$ ./test.sh
./test.sh: syntax error at line 2 : `(' unexpected
$
6,863
Posted By abdul.irfan2
$ ssh oracle@serverB export PS1="whatever" exec...
$ ssh oracle@serverB export PS1="whatever" exec /bin/sh
ksh: /bin/sh: is not an identifier
$
$
$ which sh
/usr/bin/sh
$
$
$ ssh oracle@serverB export PS1="whatever" exec /usr/bin/sh
ksh:...
6,863
Posted By abdul.irfan2
Thanks for the info...but i do not want to put in...
Thanks for the info...but i do not want to put in this all the server, we have well over 600+ servers...it would be painfull to do that....anyway to do this inside ServerA and when i ssh to serverB...
6,863
Posted By abdul.irfan2
Change putty title name
Hello all,

I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com)

Now from ServerA i do ssh user@ServerB...
1,376
Posted By abdul.irfan2
Secure private key
Hello all,

We have unix environment and we would like to use ssh public and private key to move between server using ssh. I do know how to test this and have it up and running on some...
4,105
Posted By abdul.irfan2
is there a way to do it without restarting the...
is there a way to do it without restarting the DBMS for the file to be truly deleted ??
4,105
Posted By abdul.irfan2
Thanks for the info...yes i do know we can use...
Thanks for the info...yes i do know we can use DBMS to delete the data...but as i mentioned this is to test our restore situation...what if someone removes the files at OS level and we have to do a...
4,105
Posted By abdul.irfan2
remove file/inode entry
Hello all,

I am on hpux itanium 11.31...and we run a oracle DB on it. I am testing some backup and restore situation.... first i select some data from the DB.....now i remove some files from the...
10,768
Posted By abdul.irfan2
I tired that but dose not work on HP-UX
I tired that but dose not work on HP-UX
10,768
Posted By abdul.irfan2
Thanks i figured it out... uuencode...
Thanks i figured it out...


uuencode test.txt test.txt |mailx -m -r touser@domain -s "attach testing" fromuser@domainbut now it messes up by text.txt file...the output has some squares and stuff...
10,768
Posted By abdul.irfan2
email file as attachment...
Hello all,

i am on hp-ux 11.23...i am trying to send an email as an attachement but it dose not seem to work...after reading on google i found that we can use uuencode to send file at...
1,297
Posted By abdul.irfan2
Thanks gary...
Thanks gary...
1,297
Posted By abdul.irfan2
I see what you mean, i can for sure modify script...
I see what you mean, i can for sure modify script like that...but what dose the IFS do in while loop ??? is it like a comma seperator ?
1,297
Posted By abdul.irfan2
loop picks up password for 2 entry...how to avoid that ?
hello all, i am trying to find a better to do what i am doing right now...

i have a file called sidlist...which has my database_name and password to the respective database

so something like...
Showing results 1 to 25 of 41

 

Featured Tech Videos

All times are GMT -4. The time now is 03:58 PM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy