have fun!
bash quote  bash quotes  funny bash quotes

Bash Quote: [balatro] Electroly:  It Died On Me Once...


Overall rating: (N/A)


[Balatro] Electroly:  It died on me once and wouldn't restart.  I had to ps -aux or whatever the fuck it is and kill the process.  Then it started fine.
[Electroly] ah, nothing good old `ps aux | grep Proteus | awk '{print $2 }' | xargs kill -9` won't fix.
[Electroly] much better, that worked.
* Gandalf stares at Electroly
[Gandalf] And I thought I was a Unix dork.
[Balatro] Yeah, it was so much less effort to do that then to type a command, quickly see the process and kill it by PID :)
[Electroly] you're a unix dork
[Electroly] Balatro: there were like 10 Proteus processes, dude.
[Balatro] Funny, I had 1 ;)
[Electroly] dunno where these all came from, but i killed them all.
[Electroly] now all is well
[Gandalf] Electroly: I understand ps, grep, and xargs.
Explain how that awk thinger works, though?



:)
[Electroly] Gandalf: awk is pretty simple.  it treats the stdin as a bunch of columns
[Electroly] and lets you reformat the output.  { print $n } is typical, where n is the column number to print out.
[kurros] AWK AWK MOTHER FUCKER
[Electroly] it uses whitespace as the column delimiter by default, but you can change that by argument to it
[Gandalf] ah, and in ps aux the PID is the second column, thus $2, right?

[Electroly] yup
[Electroly] you can do other sutff with awk, like awk '{ print "Whee!  The PID for " $10 " is " $2 "!" }'
[Balatro] It makes me hot when you talk unix.
[Electroly] rm -rf /home/Balatro
[Balatro] That's /homo/Balatro, honey :)




Write a comment
Write a comment about the quote
[Balatro] Electroly:  It died on me once...



Top Quote Searches
[|TrunX|] dem polacks are getting smart....the... [Weirdo_God_of_Insanity] Communism is like... [FairLighT] we'd have to do something... [NASTYFEET] ANY TUFF GUYS HERE THAT WILL FIGHT... [[ryan]] there have been many times that i... [@SpamapS] he was just a complete asshole to me... *** Joins: homoman (----------)[eMans]... [H1tl3r-H1ms3lf] well im off to fuck up at... [D3adlode] penis* Fiona cuts it off and... [LLyric] How do I break out of an infinite loop... [Sui88] 67% of girls are stupid[V-girl] i... * fudge stares @ his big package[NightsB]... [Kazak] man I am bored, Im gonna try some weird... Whitetail deer18: Attention all pokemon card... [Adora] you know what I just realized boobs are... [fudge] wow[fudge] i am blessed[fudge]... [neverrain] omg i went outside[neverrain] i... [Mrs_Grima_Wormtongue] My dad once said that we... [Asher_Dorn] somebody suggested that the... [killsdow] do harddrives like...[killsdow]...


Link To Us! Add to favorites Tell a friend! RSS Feed

Sitemap   Privacy Policy   Terms Of Service