Search Results

Search: Posts Made By: kamathg
1,668
Posted By kamathg
Many thanks indeed.. Appreciate it
Many thanks indeed.. Appreciate it
1,668
Posted By kamathg
Comma padded.. Output
Hello, here is the outout of the command below.. Can someone please tell me how to get the output as below

output needed:
18914,30716,17051,4139,14155...
( no comma for the last value)

ps -e...
1,851
Posted By kamathg
Losing quotes after redirection
Hello experts,

Pleas

I have written a shell script to build a parfile but I keep losing the quotes from query1 and query variables after the redirection.. How do I fix this ?

...
3,596
Posted By kamathg
That was Jhonson. Thanks so much your answer....
That was Jhonson. Thanks so much your answer. Well spotted. Thanks
3,596
Posted By kamathg
Someone replied to me and that was the correct...
Someone replied to me and that was the correct answer. many thanks and all the best.
3,596
Posted By kamathg
Hello, Thanks for getting back.. the...
Hello,

Thanks for getting back..

the error I am hitting is this..

DMPFILE=${EXPDIR}/${TABNAME}_PRT_${PART}.dmp
echo "exp dir is $EXPDIR "
if [[ ! -f ${DMPFILE} && ! -f...
3,596
Posted By kamathg
I just tested and it works fine if I comment the...
I just tested and it works fine if I comment the last one.. Any idea why I get into a infinite loop ?

uncompress () {

PARFILE=/gbwaaposoa2q4/ora01/app/oracle/orajobs/metadata
cat ${PARFILE} |...
3,596
Posted By kamathg
Please can someone help ?
Please can someone help ?
3,596
Posted By kamathg
Jim, Thanks very much. I modified the...
Jim,

Thanks very much.

I modified the routine as below. I know not exactly to your recommendations. But why does it run into a infinite loop ? Please can you explain ?


uncompress () {
...
3,596
Posted By kamathg
File exists routine
Hello experts,

I need some help here..

I've written the following routine to check for existence of files. The routine does the following. It will look for a compressed ( .Z ) file and if it...
9,707
Posted By kamathg
shamrock.. Many thanks for your help.. Much...
shamrock.. Many thanks for your help.. Much appreciated
9,707
Posted By kamathg
All that i am trying to do is display individual...
All that i am trying to do is display individual column values for each line and something with it

10.2.0> cat .TS_DETAILS | while read line
> do
> echo $line
> echo `awk '{print $1}' ${line}`...
9,707
Posted By kamathg
Process one line at a time
Guys,

I've written the following to proces one line at a time and then process individual column within the line.. But it works only when there is one line. I know awk will simply fetch multiple...
5,950
Posted By kamathg
Compressing files on NAS mount
Hello,

I am having difficulty compressing the files using compress or GZIP utility on NAS share NFS mounted on my linux server. Any one have idea on how to do this ? I get the followign error but...
Forum: Filesystems, Disks and Memory 08-11-2008
3,532
Posted By kamathg
Compress files on NAS
Hello,

I am having difficulty compressing the files using compress or GZIP utility on NAS share NFS mounted on my linux server. Any one have idea on how to do this ? I get the followign error but...
4,317
Posted By kamathg
Sorry.. it was my logic.. Apologies. It works...
Sorry.. it was my logic.. Apologies. It works fine now
4,317
Posted By kamathg
Sorry.. this isn't working for me.. Am i doing...
Sorry.. this isn't working for me.. Am i doing something wrong ?


sed '1i\
> #!/bin/ksh
> ' /tmp/kill.ksh
#sed '1 i #!/bin/ksh' /tmp/kill.ksh > /tmp/killer.ksh
4,317
Posted By kamathg
Add to the first line
Experts,

Need your help.

I generate a file called kill.ksh but i have the requirement to add the line at the beginning of kill.ksh. How do i do this ? I used the below but doesn't seem to work....
16,089
Posted By kamathg
Thank you Franklin. The ARCH_DEST is obtained...
Thank you Franklin.
The ARCH_DEST is obtained from within a Oracle database, but accidentally the database down when this happened. Could it be that it ran the command for all the directories ?
...
16,089
Posted By kamathg
Delete files older than certain days - Wrong !!!
Guys,

I had raised a question about deleting files older than today in a specific directory and i got this as an answer

find ${ARCH_DEST}/*.gz -mtime +0 -exec rm -f {} \;

What happens when...
1,719
Posted By kamathg
Thanks guys. Much appreciated
Thanks guys. Much appreciated
1,719
Posted By kamathg
How to cut the third value
Guys,

Please can some one help me how to cut the third value on this ? I don't want to use cut as this number can grow to 100000

UKPP1_1_1002_639156890.arc

And i need the command to return...
2,947
Posted By kamathg
Hello, not sure if i am doing anything...
Hello,

not sure if i am doing anything wrong.. but all the files are getting gzipped. Can someone help

-rw-r----- 1 oraukp dba 93237760 Apr 6 19:51 UKPP1_1_994_639156890.arc
-rw-r----- 1...
2,947
Posted By kamathg
Many thanks. It works a treat as suggested by...
Many thanks. It works a treat as suggested by you.

Thanks mate. Much appreciated
2,947
Posted By kamathg
Hello Thanks very much.. I tired it as you said...
Hello Thanks very much.. I tired it as you said but still no luck. I was expecting it to compress every file older than 987 ( NUM set to 987) but it did that for only one file


UKPP1> ls | sed -e...
Showing results 1 to 25 of 46

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