| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11
Comments:
<peter_> what does find have to do with that ? im using grep ... filtering a word from a file which is a list of words <mdasilva> peter be more specific <Trengo> grep -q '^ word$' ; if [ $? -eq 0 ] ; then found ; else notfound ; done <Trengo> ups <Trengo> fi <gauze> grep " word" <Trengo> and uhh thats sh not csh <peter_> ok , i have that .. but i need exact match <Qwell[]> gauze: that's different than "^ word$" <gauze> it is <peter_> if i have a word like " blabla" and " blabla2" i want only the exact match <gauze> di he say the word was alone on a line my itself? <FenixNR> anyone know why UPDATEDB is not a come with command in suse 10.2? <gauze> grep " word " <gauze> ? <Qwell[]> FenixNR: because linux commands are CASE SENSITIVE <peter_> its not good <Trengo> i haven't seen csh in 15 years... amazing... <gauze> well you are not explaining what you need to do then <peter_> its tcsh <FenixNR> Qwell[] I know this, but when i do, updatedb there is none, no command <Qwell[]> so install slocate <FenixNR> bash: updatedb: command not found <peter_> ok , i have a list of websites .. some can appear like www.cnn.com , and can appear like www.cnn.com.net , if i enter www.cnn.com to the script i need only that like .. i dont care that there are more matches almost like it <peter_> and the websites appear only at the end of line .. meaning , " website" <gauze> peter_: look at trengo and quells example above. <peter_> this is what i've tried .. its no good : grep '\ website\>' file.txt <gauze> can you read? <Trengo> peter_ ^ marks the beginning and $ marks the end of each line <gauze> grep "^www.cnn.com$" <peter_> yah i know that, but it doesnt work ! <Trengo> beware of the shell metacharacters! <Trengo> you need to escape them <peter_> i put \ before them <gauze> guess: don't use '' use "" <peter_> ok , i got it .. <peter_> Trengo's example works ... <peter_> thanks guys <peter_> another question .. im working @home on ubuntu but i have to run the script on an old solaris 10 , sometimes when i run my test script (about 30 tests) on the solaris i get fake results from teh script for 1-3 tests <peter_> i did a backtracking recursion script to solve what i needed to do .. could that make the weird results <peter_> on linux all the results = ok <wamty> to reboot this Linux box cleanly, do I want ot use init 6 or 'reboot' ? <Qwell[]> I prefer `shutdown -r now` <gauze> reboot the same thing <Idle247> I prefer pulling out the power cord <Idle247> kexec FTW <gauze> I prefer ur mom <Idle247> you are teh **** <FenixNR> anyone heard of SAM? <Idle247> yea, <Idle247> Sam, I am <Idle247> he likes green eggs and ham <FenixNR> lol, SAM 2006 linux distro <Idle247> nope :( <FenixNR> daing <Qwell[]> Idle247: he does not like green eggs and ham <Qwell[]> sam he is <Idle247> no no, sam tries to feed the other guy green eggs and ham <korozion> indeed <korozion> originally voiced by the same guy that did "Tigger" <Idle247> we need to load howto with dr seus quotes <korozion> lol <korozion> Howto is dead <Idle247> FINALLY <korozion> 10:30 -!- howto [howto@CPE-58-160-152-55.sa.bigpond.net.au] has quit [Ping timeout: 600 seconds] <Idle247> I mean, I didn't murder him <korozion> Ensign Pillsbury? He's bread, Jim <Idle247> tasty <korozion> Idle247: if you were on star trek, you'd SO be the 5th crewman <Idle247> redshirt? <korozion> yep <korozion> the one that always dies <Idle247> haha, I'm gonna digitize that section of that robot chicken ep <Idle247> where the redshirt wins <korozion> Kirk would be like "ok, away mission, me, Scotty, Spock, Bones .... and ..... you over there" <korozion> and that guy would be like "****" <Idle247> pfft <howto> MUAHAHAHAH <korozion> lolz <howto> I R THE LAM35T B0T EVAR <Idle247> 'Ok, welll take scotty, bones, spock, annnnd ted'... '****' <Idle247> from Family Guy <Idle247> ***hat <korozion> fft <bloofar> where else would i wear it? <korozion> it's the oldest joke in the book <Idle247> korozion: yep <Idle247> or., like robot chicken <Idle247> 'They left us on the planet? no food? what do we do?' ' Canibalism' *all turn to ted* 'oooooh no no no... What you all dont realize is you thought this was a safe planet, so I'm the only one with a phaser' <Idle247> I'll get it up on GV <korozion> youtube is doing gv now <korozion> or soon <Idle247> what? <Idle247> they had an update last nite <Idle247> they ***ociating the 2 accts? <korozion> gv will still be normal, except youtube will have all the videos <korozion> so .... Google made themselves a nice link site <korozion> GG <Idle247> will gv do that too? <Idle247> lik,e gv doing youtube vids? <korozion> no <korozion> there will be no videos _hosted_ on gv <Idle247> ??? <korozion> go read /. <bloofar> \. <Idle247> give me a link <bloofar> <a href='#'>:p</a> <korozion> http://slashdot.org/article.pl?sid=07/01/25/1730256 <Idle247> neat <korozion> indeed <Idle247> google video works better IMHO <korozion> meh <korozion> yeah, but they link to maximize things <korozion> which is just weird <Idle247> but, youtube has more 'community', like all the 14 year olds stripping on their webcams... <korozion> yeah :DDDDDDDD <korozion> I mean <korozion> that's aweful <korozion> awful <Idle247> hey, its not me <Idle247> its the 14 year olds <korozion> http://gallery.koroded.net/v/Cats/fap.jpg.html <Idle247> nsfw? <korozion> work safe <Idle247> if its not, I murder you <korozion> I'm skurred <Idle247> lol <Idle247> cl***y <Idle247> god damn <Idle247> disaster recover seems more like 'Job search' <korozion> wee <_unreal_> ? <Joell> ok for some real office fun <Joell> run an audio cable under the carpet <NeCr0s1s> can someone help me with my linux problem. Im trying to get grub to boot to my windows drive. I have grub on my master ide with ubutu on there. I have a sata array as my second boot disk with windows xp on there. <Joell> plug it into your speaker port <Joell> and put a cd audio in end on the other, run it in through the bottom of their case <NeCr0s1s> i tried multiple configs in grub to get it to work but it is just hanging <Joell> play speakeR_hum.wav for a while <cls> joella! <wamty> how the hell do I tell a cron job to NOT send me mail <wamty> > /dev/null 2>&1 ? <Idle247> yep <Joell> what's up clls? <Joell> wamty yes <planet> hello <ninjaneo> lets say i had two drives, with a common file structure.... if I were to use lvm, and then eject one of the physical drives, would I be able to access all the files (would they be copied over) <planet> sweet <planet> ninjaneo - get a test box and try it <planet> best way to learn dude <linuXjedi> while that may be true, it doesn't hurt to ask, either
Return to
#linuxhelp or Go to some related
logs:
#firebird #nhl Anti-Weed Quotes
brownneck #worldcup #delphi zoocircle #beginner #politics #windowsxp
|
|