Search Results

Search: Posts Made By: brononius
1,401
Posted By brononius
Sorry, I hoped/wished that nobody seen this...
Sorry, I hoped/wished that nobody seen this already. But you guys are fast here. ;)

I'm fighting with your example to get the 2 values in. But for one of the other reason, i can't figure out how...
1,401
Posted By brononius
Repeat for different variable
Hey,

I've created following script:

var1=test1
setA=testA

if
...
touch $setA/$var1
...
fi


I would like now the repeat the command touch (in this example) for different...
3,370
Posted By brononius
Thanks, Just for my own info, what's best?...
Thanks,

Just for my own info, what's best? Or what's the difference?

Using the sort command, or the awk command?
3,370
Posted By brononius
First one seems to do the trick perfectly. ...
First one seems to do the trick perfectly.

But the csv file is each time overwritten, correct?
Should be nice if only the new (=non existing values) are added to the csv.


I've just noticed...
3,370
Posted By brononius
This one does it all I believe. :b: I'm...
This one does it all I believe. :b:

I'm thinking now to combine both (the awk and the curl command) and put the result in a file with >>
But since the unique filter is done before the results are...
3,370
Posted By brononius
How the filter output?
Hey,

I'm using some sensors that can be read by http.
If I run following command:

curl -v...
923
Posted By brononius
Carlo, This works perfect... The...
Carlo,

This works perfect...



The end result:

CURRENT_DATE=$(date '+%Y%m%d)

for file in /backups/*/$CURRENT_DATE/*.txt
do
tail -5 $file | grep -E "end|return" > /dev/null 2>&1
...
923
Posted By brononius
Check last lines of different files
Hey,

Each night, about 2000 network devices are being backupped. So in different folders, i've got each night 2000 new text files.
And normally, in these files, on the last 5 lines, the word...
Showing results 1 to 8 of 8

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