Archive for November, 2006

Found: Unix/Linux Gold

November 16th, 2006 | Category: AIX, Linux, Opensource

I stumbled upon this invaluable gem:

http://souptonuts.sourceforge.net/how_to_linux_and_open_source.htm

It is a page of over 200 tips and tricks for all sorts of *nix and opensource goodies, like this:


TIP 70:

Generating Random Numbers.

$ od -vAn -N4 -tu4 < /dev/urandom
3905158199

This guide is full of stuff that you may only do occasionally but you can never remember how to do it (like configuring Spamassassin (tip 92)). There’s also a lot of handy shell programming hacks, like this:


TIP 179:

history - bash command to get a history of all commands typed. But, here is a way
that you can get date and time listed as well.

$ HISTTIMEFORMAT="%y/%m/%d %T "

Defining the environment variable above give you the date/time info when you
execute history:

$ history
...
175 05/06/30 12:51:46 grep '141.162.' mout > mout2
176 05/06/30 12:51:48 e mout2
177 05/06/30 12:56:59 ls
178 05/06/30 12:57:02 ls
179 05/06/30 12:57:39 ls
180 05/06/30 12:57:49 ls -l
181 05/06/30 13:01:10 history
182 05/06/30 13:01:20 HISTTIMEFORMAT="%y/%m/%d %T "
183 05/06/30 13:01:23 history
...

Learn it! Live it! Love it!

Whatever.

No comments

Support for non-Krita (PNG, JPG, etc.) Files in Krita

November 07th, 2006 | Category: Linux, Opensource

On FC5 (don’t have FC6 yet), if you don’t have the rpm for “koffice-filters” installed, you won’t be able to open up anything except native Krita files. I believe that these filters are packaged separately because they are maintained separately from Krita, since they are used by other KOffice applications. Makes sense if you think about it, but I had to do some searching to figure it out.

No comments

Merging PDFs

November 04th, 2006 | Category: Linux, Opensource, Tech

Need to make multiple PDFs into one? Here is an easy way to do it with Ghostscript:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf

After scanning a few documents, I converted the resulting individual PNGs into PDFs and then used the command above to make a single, multi-page PDF.

Here’s a few other apps I discovered for manipulating for manipulating PDFs:

pdftk
mbtPDFasm
multivalent

No comments