Unix How to compress a PDF file on MacOSX (& Linux) Often (and especially when scanning documents with my printer) from MacOSX I would get unreasonable huge PDFs which are not suitable for emails. To strip them down without pain one can use ghostprint:
Backup Bacula mail changer script (aka poor man's autoloader) I enjoy Bacula for automated home backups on DLT and DDS tape drives. Being used at home there’s no – obviously – big-dollar-company-manager to ask for an autoloader; and when the time of a
Linux Nagios nrpe and sudo: "NRPE: Unable to read output" On CentOS 5 (and RedHat EL as well), you can encounter the following behaviour when configuring an nrpe plugin with sudo: [andrea@feyd ~]$ /usr/lib/nagios/plugins/check_nrpe -H 1.2.3.
Linux SSH X11 forwarding issue Recently I’ve been in an awkward situation with ssh and X11 forwarding, where ssh using the classic -Y or -X option wasn’t working (DISPLAY was not set): [andrea@duncan ~]$ ssh -Y
Solaris seq equivalent On platforms without seq (MacOSX, Solaris), you can emulate it using dc as follows (note the upper bound and the lower bound): echo '[1+pdUPPER_BOUND>aq]saLOWER_BOUND 1-lax' | dc