Language:
switch to room list switch to menu My folders
Go to page: First ... 30 31 32 33 [34] 35 36 37 38 ... Last
[#] Sun Aug 03 2008 16:57:04 EDT from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

hm, yes, known some of them, some not... but, wc -l is s.th. like using sort|uniq instead of sort -u ;-) though i still do the first and did the later for a long time.

[#] Wed Aug 06 2008 07:31:47 EDT from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

[#] Wed Aug 06 2008 11:03:49 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Only 2 Remote bugs

And they are:

1. "The government has bugs in our homes and offices! They're listening to us, you know. Everyone put on your tinfoil hats!"

and

2. "Linux really bugs us because they have, like, actual users and applications on their OS!"

[#] Wed Aug 06 2008 11:08:24 EDT from athos-mn @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

+5 for the nice takeover of webcit, but -100 for causing it to blink (the tag is irrelevant - it still blinks).

[#] Wed Aug 06 2008 15:59:59 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Ah, ok ... here on the text client I didn't see the unsanitized html. I thought we were just picking on OpenBSD. :)

The nicest thing I can say about OpenBSD is that it's marginally more usable than Windows.

[#] Wed Aug 06 2008 16:47:13 EDT from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Some more command line tips I'd like to share:

grep -q : Suppress all output from grep. All you get is the exit code. Nice for scripts.
paste : This underappreciated little program is the opposite of cut. It pastes two or more columns of text together.

[#] Wed Aug 06 2008 17:35:13 EDT from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

well... originaly it was intended to screw up the openbsd cvsweb, but webcit took over too ;-)

maybe i've posted it to fast, so it bypassed the editor...

so... i've nuked webcit ;-)



[#] Thu Aug 07 2008 22:50:13 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

comm is the most useful fucking unix program in the world.

[#] Sat Aug 30 2008 08:46:42 EDT from Freakdog @ Dog Pound BBS II

[Reply] [ReplyQuoted] [Headers] [Print]

Encountered something interesting, the other day.

Apparently, HP-UX's chown command will allow you to change ownership of your own files to another user's ID.

I've not been able to do so under AIX or Linux.

[#] Sun Aug 31 2008 00:25:00 EDT from IO ERROR @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Nothing I might hear about HP-SUX would surprise me.

[#] Sun Aug 31 2008 09:31:04 EDT from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

h-pox?

[#] Sun Aug 31 2008 17:22:23 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Not a terribly bright idea, because all it allows you to do is make work for the sysadmin when you want your file back.
Better they should give you sudo to chown, I'd think.

[#] Sun Aug 31 2008 17:47:36 EDT from Freakdog @ Dog Pound BBS II

[Reply] [ReplyQuoted] [Headers] [Print]

I'm not going down that route...with my luck, they'll start from the wrong place, and chown everything on the system.

[#] Mon Sep 01 2008 20:41:02 EDT from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Apparently, HP-UX's chown command will allow you to change ownership

of your own files to another user's ID.

Isn't that feature (ability to give away ownership) one of the historical differences between SYSV and BSD?

[#] Tue Oct 21 2008 09:28:22 EDT from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

http://tldp.org/LDP/abs/html/here-docs.html

good read about here documents in shellscripts...



[#] Wed Oct 22 2008 08:11:11 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

And what are we learning? I don't see the point.

[#] Wed Oct 22 2008 08:14:40 EDT from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

how to use here documents in all sorts of scripting situation, and don't hassle with \"

[#] Wed Oct 22 2008 10:32:24 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Nice introductory article, but I've been doing that for over 20 years.

[#] Fri Nov 07 2008 16:49:43 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I imagine all the heavies already know this, but apparently in linux, they've implemented a rename command to do some simple bulk renames like in dos.

[#] Fri Nov 07 2008 17:05:09 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Yeah, it's called

for x in *foo* ; do mv $x `echo $x | sed s/foo/bar/g` ; done

Child's play, really.

Go to page: First ... 30 31 32 33 [34] 35 36 37 38 ... Last