Search Results

Search: Posts Made By: grafman
6,153
Posted By grafman
Thankz, i will use it as soon i get to work :) ...
Thankz, i will use it as soon i get to work :)

Cheers,
6,153
Posted By grafman
multiple and diferent printf(s) for diferent fields in awk
Hi,

I'm trying to print and outrput of a timestamp from a script i did that calcs de time diference betwen 2 timestamps in the format HH:MM:SS and i properly formated it with printf inside awk,...
Forum: Ubuntu 11-29-2011
4,586
Posted By grafman
Reinstall and solved the problem... No...
Reinstall and solved the problem... No explanation :)
1,501
Posted By grafman
while read lines do ip=`echo $lines | awk...
while read lines
do

ip=`echo $lines | awk -F"|" '{print $1}' `
user=`echo $lines | awk -F"|" '{print $2}' `
cmd=`echo $lines |awk -F"|" '{print $3}' `

echo "$ip $user $cmd"

done...
Forum: Ubuntu 11-09-2011
4,586
Posted By grafman
Ubuntu Server 10.04 LTS - Regular crontab "caches old scripts"
Hi,

I'm using a Ubuntu Server 10.04 LTS and it works like a charm, except for the regular crontab.

Onde day a user had some problems with crontab, i analyse it and i see no problemns, all my...
Showing results 1 to 5 of 5

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