Search Results

Search: Posts Made By: gsusarla
1,599
Posted By gsusarla
problem with rm
Hi All,

I have this in my shell script

find $scrhome -mtime +3 -name "lfname_*" -exec rm {} \;


if i execute this directly on command line its working fine.

but when i execute shell...
10,434
Posted By gsusarla
I am really sorry Era, Didnt see that. Now...
I am really sorry Era,

Didnt see that. Now it works.

Thanks and lot for the input.


Thanks and regards,

G.
10,434
Posted By gsusarla
first one
hi Era,

The second one is working awesome.

for the first one

if find /hone/report/wedm -mtime -1 -name MBRSHIP.TXT -size 0 | grep . >/dev/null
then
echo Success
else
echo Failure...
10,434
Posted By gsusarla
Input
Hi,

really appreciate the input but still throwing errors

first one error

find: 0652-017 -maxdepth is not a valid option.

secon one error

printf: 3016-002 00004268 is not completely...
10,434
Posted By gsusarla
What?
your perception is wrong

Any body who is expert in a different field and had to get some work done in unix can post such questions.


Could help you if you have any doubts in ORACLE.
...
10,434
Posted By gsusarla
Find file size and date
Hi in my shell script I have to do this

1. there is a file called testing.txt in /home/report directory

If the file size is 0(zero) and date is today's date, then I have to print
"Successful"...
6,912
Posted By gsusarla
If i do this grep -v "Permssion Denied"...
If i do this

grep -v "Permssion Denied" todat.tx >today.txt 2>&1

its not working

Please help me,

Gns
6,912
Posted By gsusarla
Not working
Hi

if I do

grep -v "Permission denied" today.txt
It is printing the text without the line on the screen

but it si not deleting the line in the file.

So how can I do that, like delete...
6,912
Posted By gsusarla
Find and delete the line
Hi I have a text file like this name today.txt

the request has been accepted
the scan is successful at following time
there are no invalid packages
5169378 : map : Permission Denied
the...
8,032
Posted By gsusarla
Find a word and delete the line
Hi I have a text file like this name today.txt

the request has been accepted
the scan is successful at following time
there are no invalid packages
5169378 : map : Permission Denied
the...
Showing results 1 to 10 of 10

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