Search Results

Search: Posts Made By: wrwe
5,437
Posted By wrwe
Thanks, you rule! :D but one last question i need...
Thanks, you rule! :D but one last question i need in one word lets say it is $17 replace LINK to something else or in mac adress if it comes like this 00-00-00-00-00 - replace with : maby sub should...
5,437
Posted By wrwe
very useful comand. How can i make it work with...
very useful comand. How can i make it work with file? isit posible tu do that if in text are some keywords lets say Login OK: whan do the command if not no.
/Login OK:/ { }
5,437
Posted By wrwe
Both works good. Thank you guys :b: Now the...
Both works good. Thank you guys :b: Now the problem with the mac structure should be separated with : Is it posible to convert mac to xx:xx:xx:xx at the same command or i should look for something...
5,437
Posted By wrwe
ok i understand start and end but what is LABEL$...
ok i understand start and end but what is LABEL$ and !p ?
5,437
Posted By wrwe
output words between sentences SED
Hi, i need to delete every thing ecept sentences between known prases lets say
i have


Thu Dec 4 08:28:57 2008 : Auth: Login OK: [vyce6220] (from client LINKSYS3 port 12 cli 001644fc4838)

...
16,793
Posted By wrwe
i don't whant to create a new post, so i'll ask...
i don't whant to create a new post, so i'll ask here. How to grep the lines containing sertain two or more words lets say i have:

Thu Dec 4 08:00:14 2008 : Auth: Login OK: [boda7805] (from client...
9,648
Posted By wrwe
doesn't work omg i'm so $#!@ :D i'll try...
doesn't work omg i'm so $#!@ :D i'll try something with

sed 's#.*cli \(.*\)).*#\1#'
9,648
Posted By wrwe
thanks i will try.
thanks i will try.
9,648
Posted By wrwe
i do it in a remote server so it sakes time...
i do it in a remote server so it sakes time merging. Bus let's say it doesn't matter, but how i understand the radius time can differ from given acknoligment time (think the ack line is just what i...
9,648
Posted By wrwe
First of all thanks for your reply, for taking it...
First of all thanks for your reply, for taking it deeper and writing almost everything :}}} it helps me a lot.
New to perl but thats not a problem. The problem is that i can't run the first script i...
9,648
Posted By wrwe
no ideas?
no ideas?
9,648
Posted By wrwe
Need to relate Radius log entries to DHCP ones
Hi, let say i have 2 log files(they are below) dhcp and radius. What i need is to put the information to a file just from good connections ( Auth: Login OK ) others just ignore. And the information...
5,721
Posted By wrwe
thanks sed -i "s/^\([a-zA-Z0-9]*\)/word/g" file...
thanks
sed -i "s/^\([a-zA-Z0-9]*\)/word/g" file
But where it says that replace just the first word in the every line. I now /g - global for each line, ^ - symbolizes the begining. [a-zA-Z0-9] -...
5,721
Posted By wrwe
I'm sorry, but i'm curious about writting it usig...
I'm sorry, but i'm curious about writting it usig set and awk, can enyone give me a hint how to begin?:confused:
5,721
Posted By wrwe
thank you danmero!
thank you danmero!
5,721
Posted By wrwe
#/bin/sh while read firstword restofline do ...
#/bin/sh
while read firstword restofline
do
echo $firstword
firstword="word"
done < datafile.txt
#

This part just changes first words, how to glue the first word ant the rest of the...
5,721
Posted By wrwe
change first word in the every new line
Hello, i'm new with the scripting on unix and i need such script or maby something to that way:

I need to change the the first word in every new line to a given word. Using just /bin/sh ( not...
Showing results 1 to 17 of 17

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