Search Results

Search: Posts Made By: ravi raj kumar
1,496
Posted By ravi raj kumar
What is $$
Hi,
In a shell script i have seen the following statement.
TEMPSQL=/tmp/sample-$$.sql
Here whats the purpose of $$ in sample-$$.sql.

cheers
RRK
Forum: Programming 03-19-2008
2,703
Posted By ravi raj kumar
execute immediate issue
Hi all,
Pls consider the following script.
qry="'insert into rcur_test select comp_id,site_id,ebiz_appown_no from trn_vehl
og \
where comp_id=\"$1\" \
and site_id=\"$2\" \
and...
1,647
Posted By ravi raj kumar
IF condition doubt
Hi i found the following code in a date calculation script.

if ((!(year%100))); then
((!(year%400))) && leap=1
else
((!(year%4))) && leap=1
fi
I have not find such an use of if...
16,673
Posted By ravi raj kumar
yes,you are correct! cheers RRK
yes,you are correct!


cheers
RRK
16,673
Posted By ravi raj kumar
Hi, >find /tmp -name "dir[^5]" -type d Whats...
Hi,
>find /tmp -name "dir[^5]" -type d
Whats the purpose of using "dir[^5]" here?

We can also get the desired result as follows.

find /tmp -name "dir5" -type d

any idea pls.

cheers...
1,919
Posted By ravi raj kumar
Hi, Thank u. cheers RRK
Hi,
Thank u.

cheers
RRK
1,919
Posted By ravi raj kumar
export issue
hi,
I have a password file called mypwd.bash in /home/oracle/practice directory as follows.
mypwd.bash

mypwd=oracle
export mypwd

i called the above file in the following script as follows....
1,762
Posted By ravi raj kumar
GUI issue
I have successfully installed Red hat linux 7.2 on my PC.
But During the installation i saw the following messages

"starting anaconda....
probing vedio card:unable to probe
"

In...
Forum: Linux 02-15-2008
2,549
Posted By ravi raj kumar
GUI problem
hi,
I have installed RH linux 7.2 on my desktop in graphical mode.
After installation it is being started only in text mode.
Can anybody tell me how can i start in graphical mode.

cheers
RRK
2,080
Posted By ravi raj kumar
mounting problem
I have successfully installed redhat linux in my PC.
But when i am trying to mount cdrom with the command "mount /dev/sda1 /mnt/cdrom" I am getting the following error
"Unknown device /dev/sda1"....
12,122
Posted By ravi raj kumar
rsh connection problem
I am trying to connect to a remote server using rsh.
first i have given the following command.
[oracle@dbserver ~]$ rsh 242.13.45.54 -l

now i got the following message

"connect to address...
Forum: Programming 02-06-2008
3,079
Posted By ravi raj kumar
accessing unix variables in oracle
Hi,
consider the following script.


ip='***.***.**.**'
user='****'
pw='******'
ftpresults=`ftp -nv $ip<<EOF
user $user $pw
cd /home/oracle/practice
size $1
bye
EOF`
fname=$1
echo...
15,252
Posted By ravi raj kumar
hi, working... thank u.
hi,
working...
thank u.
15,252
Posted By ravi raj kumar
Hi , i am using linux. i am able to...
Hi ,
i am using linux.

i am able to connect to ftp without the script... ( i mean on the console??? )


cheers
RRK
15,252
Posted By ravi raj kumar
ftp issue
Hi all,
I am trying to connect to ftp through the following shell script

ip='172.12.40.45'
user='oracele'
pw='oracle@7Hills'
ftp -n -i -v $ip<<EOF
user $user $pw
EOF

But i am getting the...
3,283
Posted By ravi raj kumar
remote file size
hi,

I have ftp some file from linux server to local system.
After completion of ftp of a particular file i need to comparethe size of the original file(server) and transfered file(local).
How...
16,008
Posted By ravi raj kumar
directory tree
Hi all,
The following is a script for displaying directory tree.

D=${1:-`pwd`}
(cd $D; pwd)
find $D -type d -print | sort |
sed -e "s,^$D,,"\
-e "/^$/d"\
-e...
1,740
Posted By ravi raj kumar
Hi, Thank u for answering . cheers RRK
Hi,
Thank u for answering .

cheers
RRK
1,740
Posted By ravi raj kumar
parameterised functions
Hi,
Can anybody tell me how to create a function with parameters
in a shell script.

cheers
RRK
2,209
Posted By ravi raj kumar
No,The are not comments .I put them foe...
No,The are not comments .I put them foe identification.
Here is the actual script.

script_name_full=$0
script_name=${script_name_full##*\}
script_name_noexst=${script_name%%\.ksh}...
2,209
Posted By ravi raj kumar
shell script doubt
Hi,
While reading a shell script ,i have come accross the following statements.

script_name_full=$0
***script_name=${script_name_full##*\}
***script_name_noexst=${script_name%%\.ksh}...
Forum: Programming 11-22-2007
3,051
Posted By ravi raj kumar
process error
Hi all,;)
i need to exexute OS commands from oracle prompt.
For that i did the following steps
1) created a java source called "Host".
2)created a pl/sql procedure called'Host_Command '....
1,748
Posted By ravi raj kumar
hi grial,:cool: Thanks a lot. It worked fine....
hi grial,:cool:
Thanks a lot.
It worked fine.
cheers
RRK
1,748
Posted By ravi raj kumar
prefixing filenames
Hi,:cool:
I have a list of files in a directory.I need to store them in a file with the prefix of @ by using a command..
ex:@p_po.plb
@p_ebiz_roster_data.plb

any idea pls.
cheers
RRK
2,518
Posted By ravi raj kumar
Hi ranjan,:cool: Excellent...... keep it up. ...
Hi ranjan,:cool:
Excellent......
keep it up.

cheers
RRK
Showing results 1 to 25 of 101

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