Sat Apr 8 13:54:28 CEST 2006

Shell commands

Yesterday was just another ChaosMeeting in Nordhausen.

We had a small discussion there about Unix commands or better shell commands. Did you know for example that the opposite of a cat is a tac (reverse listing of the input stream)?

Or did you know that you can write something into a file until you write a special string?

basti@Woody:~$ cat << EOF > /tmp/foo
> /me/
> _please_

And this needn't to be EOF - it could be ANY other string. Really nice in the daily administrativ work here. :-)

Posted by Sebastian Wieseler | Categories: *nix |