Search Results

Search: Posts Made By: netrom
1,394
Posted By netrom
re:Command script for checking a file existence
Thanks, is it possible to make this command run and stop only if the file exist? So that when the certain file appears, the script sends the email and stop/exit. Because when I run this command it...
1,394
Posted By netrom
Command script for checking a file existence
Hello,

I have a directory where sometimes appear a certain file name - and I'd like to be notified by email when that happens... so what command or script I may use?

e.g. if there's a file...
1,635
Posted By netrom
why 749 when I wanted 750-766? and after I...
why 749 when I wanted 750-766?

and after I pasted the command is says:
"cannot be parsed."

Any suggestions?

Thanks.
1,635
Posted By netrom
Replacing certain positions in lines with spaces
Hello,

I have a file with hundreds of lines. Now I need to replace positions 750-766 in each line (whatever there is there) with spaces... how can I do that?

Which command to use?

The result...
4,234
Posted By netrom
thanks a lot, it works :-)
thanks a lot, it works :-)
4,234
Posted By netrom
Find a string and its position in a line from another string
Hello guys, would you please help me with this?


this is the line inside a file:


first line Something Today YYDDPPSVXIPYYY0XXXOFFS00000000000?


I'd like to find the position of string...
1,527
Posted By netrom
Thanks guys, I'll test that, and I'm wondering is...
Thanks guys, I'll test that, and I'm wondering is it possible to use also the sed command?
1,527
Posted By netrom
Delete 2 strings from 1 line with sed?
Hi guys, I wonder if it's possible to search for a line containing 2 strings and delete that line and perhaps replace the source file with already deleted line(s).

What I mean is something like...
2,717
Posted By netrom
Cron Time Setup
Hi Guys,

can someone help me how to setup a job in cron that runs each morning from 8-10 a.m. for every half an hour but starting from 8:50 a.m.?

so far i have this:

00,30 8-10 * * *

but...
5,844
Posted By netrom
tried the examples in the thread - not working...
tried the examples in the thread - not working :confused:

any suggestions?
5,844
Posted By netrom
Many thanks, going to look at it.
Many thanks, going to look at it.
5,844
Posted By netrom
grep, find or awk?
Since I found this very helpful forum and friendly people, I have a small request.

I use AIX Unix and would like to know if there's a simple way how to do a kind of compare between two files....
4,010
Posted By netrom
Great, works, many thanks!
Great, works, many thanks!
4,010
Posted By netrom
Thanks Franklin, it gets me: 08 02 Is there...
Thanks Franklin, it gets me: 08 02

Is there a way to get the output: 802 (not 08 02)?

Thanks in advance.
4,010
Posted By netrom
help with date command
Hi guys, I know it may sound silly. I have this in my script:

JD=`date +%Y +%m|cut -c "4 5 6"`
echo $JD

the JD when I run it today outputs 803. Which is 8=part of year 2008, 03 is current...
1,583
Posted By netrom
Thanks Jim, what if I want to extract not...
Thanks Jim,

what if I want to extract not columns but certain positions from file1? I mean I don't have any columns resp. tabs?

I'd like to choose e.g. positions 5-9 (let's say string1) and...
1,583
Posted By netrom
Search, compare or?
I found this very helpful forum and there are very friendly people, I have a small request.


I use AIX Unix and would like to know if there's a simple way how to do a kind of compare between two...
Showing results 1 to 17 of 17

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