commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
The biggest advantage of this over the functions is that it is portable.
This will tighten up security for your box. The default value for PermitRootLogin sadly is 'yes'.
Add the BackTrack repositories to your Debian based GNU/Linux distribution. Thanks to http://it-john.com/home/technology/linux-technology/add-back-track-4-repo-to-ubuntu/
Returns the '$1'th Fibonacci number.
My Programming Languages professor assigned my class a homework assignment where we had to write a Perl interpreter using Perl. I really like Python's interactive command line interpreter which inspired this Perl script.
This command can be used with xclip or xsel for use on a linux box.