|
supercollider
superconducting
Registered: 10/13/00
Posts: 1,234
Loc: Waxahachie
|
Re: Differences between freeBSD and linux? [Re: Seuss]
#6856433 - 05/01/07 12:48 AM (16 years, 10 months ago) |
|
|
I thought they open-sourced Solaris a couple years ago. Am I wrong?
(It's reeealy doubtful that I know more than Seuss does about his OS of choice, so I'm sure I am wrong.)
-------------------- Supercollider? I just met her!
|
Colonel Kurtz Ph.D
What What?
Registered: 07/22/04
Posts: 11,113
Loc: Shadow Moses
|
Re: Differences between freeBSD and linux? [Re: delta9]
#6857056 - 05/01/07 05:49 AM (16 years, 10 months ago) |
|
|
Quote:
delta9 said: It's not strange, the commandline interface is and always will be the most powerful and efficient.
find -exec {} \ FTW!!
-------------------- There's no better way to rock out than with your cock out!!
|
Seuss
Error: divide byzero
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 1 month, 9 days
|
Re: Differences between freeBSD and linux? [Re: supercollider]
#6857074 - 05/01/07 06:01 AM (16 years, 10 months ago) |
|
|
> I thought they open-sourced Solaris a couple years ago. Am I wrong?
They did... though I haven't played with it, to be honest. However, it isn't "free software" in the typical sense of open source. (lawyers/license issues/etc...)
> find -exec {} \ FTW!!
Other way around... search path first, options second... "find / -exec WTF {} \;"
-------------------- Just another spore in the wind.
|
Colonel Kurtz Ph.D
What What?
Registered: 07/22/04
Posts: 11,113
Loc: Shadow Moses
|
Re: Differences between freeBSD and linux? [Re: Seuss]
#6858191 - 05/01/07 01:02 PM (16 years, 10 months ago) |
|
|
Are you executing a command called WTF or am I missing something?
-------------------- There's no better way to rock out than with your cock out!!
|
OJK
Stranger
Registered: 06/08/03
Posts: 10,629
|
|
I believe he was reformatting the example of a commandline command you posted, and mistook FTW as a search term (when in fact it was an initialism for "For The Win"), and then mistyped it as WTF ("What The Fuck") in his example.
|
Colonel Kurtz Ph.D
What What?
Registered: 07/22/04
Posts: 11,113
Loc: Shadow Moses
|
Re: Differences between freeBSD and linux? [Re: OJK]
#6858500 - 05/01/07 02:18 PM (16 years, 10 months ago) |
|
|
I didn't even write anything to search for in my example, I was mostly saying that the find tool is just awesome. "find /home/giaco/whatever/*shroomery* -exec mv .. {} \;" would have the correct syntaxis But anyway, find -exec is awesome!
-------------------- There's no better way to rock out than with your cock out!!
|
Seuss
Error: divide byzero
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 1 month, 9 days
|
Re: Differences between freeBSD and linux? [Re: OJK]
#6858529 - 05/01/07 02:28 PM (16 years, 10 months ago) |
|
|
Quote:
I believe he was reformatting the example of a commandline command you posted, and mistook FTW as a search term (when in fact it was an initialism for "For The Win"), and then mistyped it as WTF ("What The Fuck") in his example.
If you are referring to me, you got it 100% correct. (I think...)
-------------------- Just another spore in the wind.
|
Colonel Kurtz Ph.D
What What?
Registered: 07/22/04
Posts: 11,113
Loc: Shadow Moses
|
Re: Differences between freeBSD and linux? [Re: Seuss]
#6858599 - 05/01/07 02:50 PM (16 years, 10 months ago) |
|
|
Aren't you supposed to specify the command to be executed with the found files after the -exec anyway?
-------------------- There's no better way to rock out than with your cock out!!
|
Seuss
Error: divide byzero
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 1 month, 9 days
|
|
> Aren't you supposed to specify the command to be executed with the found files after the -exec anyway?
I use the following sort of command quite often:
% find ./ -name "*.c" -exec grep -H some_search_string {} \;
This would grep for "some_search_string" in every file that ends in ".c" from my current location. If the file contains the string, the filename would be displayed (the -H option on grep).
Another fun one... (don't type this one, or you might loose data!)
% (cd /users; rm -rf `du | sort -n | tail -1`)
... removes all of the files from the user account that is using the most disk space. Makes a nice monthly cron job... keeps the users fighting each other to maintain the lowest disk space usage.
-------------------- Just another spore in the wind.
|
Colonel Kurtz Ph.D
What What?
Registered: 07/22/04
Posts: 11,113
Loc: Shadow Moses
|
Re: Differences between freeBSD and linux? [Re: Seuss]
#6859068 - 05/01/07 04:35 PM (16 years, 10 months ago) |
|
|
You are baaaad man, BAAAAD.
I just love how powerful the command line is, shame I'm not that proficient at it yet.
-------------------- There's no better way to rock out than with your cock out!!
|
delta9
Active Ingredient
Registered: 10/28/04
Posts: 5,390
Loc: California
Last seen: 13 years, 4 months
|
|
It's very nice. He's not bad, he's just another BOFH.
Being a really good BOFH is very commendable.
-------------------- delta9
|
|