Bypass rm's “argument list too long” error message with xargs

When using rm to delete a large number of files, you may come up against a kernel limitation which limits the length of arguments that can be sent to rm: $ rm * bash: /bin/rm: Argument list too long This one-liner utilizes xargs to bypass this limitation: ls | xargs...

How to reconfigure CPAN

I’m always forgetting the command that’s needed to start CPAN’s configuration wizard back up after its initial setup. To reconfigure CPAN, just execute the follow command from the CPAN prompt: o conf init

Configuring the Cisco VPN Client in Ubuntu Linux 7.10 (Gutsy)

I do some work for an organization which requires me to authenticate to a Cisco VPN. Getting the VPN client setup under Mac OS X is a simple matter, but doing the same under Linux required some research. Here’s what worked for me. I’m using the 64-bit x86...