Hacktux - hacktux.com - HACKTUX - notes from the trenches
General Information:
Latest News:
Sudo on Fedora 15 3 Oct 2011 | 12:30 pm
Sudo allows users to run commands as root while logging the command and its arguments. In short, sudo first authenticates a user using their own password, then checks /etc/sudoers to see what sudo pe...
Bash Variable Variable 30 Sep 2011 | 05:24 pm
So, you want a Bash variable variable? You know, a variable that contains a variable name. No problem - Use indirect expansion or eval. Below are some examples and options. Bash Indirect Expansion fo...
Using Perl LWP::UserAgent to View Server Headers 29 Sep 2011 | 05:08 pm
Unless configured to do otherwise, most HTTP and FTP servers will supply you with identifying information in the form of a server header. Using Perl's LWP::UserAgent, you can connect to a server and d...
Bash Socket Programming 26 Sep 2011 | 10:54 am
You can connect to a socket using Bash by using exec and redirecting to and from the pseudo-path /dev/tcp/<hostname>/<port> or /dev/udp/<hostname>/<port>. For instance, to connect to your localhost SS...
Linux Journal Contest with Prizes 10 Mar 2009 | 01:14 pm
The folks at Linux Journal are having a contest! Winners will receive a 1 year digital subscription. Follow these instructions to enter.
Read & Remove EXIF Data From the Command Line 10 Feb 2009 | 11:05 am
Most digital cameras will insert metadata into images. This metadata is stored using the exchangeable image file format (EXIF) and can contain camera specifications, exposure settings, thumbnails, GPS...
How to Be Faster at the Linux Command Line 4 Feb 2009 | 04:11 pm
Want to be faster at the Linux command line interface? Since most Linux distributions provide Bash as the default CLI, here are some Bash tricks that will help cut down the amount of typing needed to ...
Site Captcha Upgraded 3 Feb 2009 | 05:50 am
I recently received a comment from Bappoy mentioning that the site's Captcha was "awful". He was right, Captcha was using an ugly font to render images. Since then, I have upgraded the comment Captch...
10 Tips for Writing Efficient Bash Scripts 2 Feb 2009 | 05:56 am
Bash is the default command line interface for many Linux distributions and a powerful scripting language. Here are some suggestions that will keep your Bash scripts efficient and lean. Feel free to c...
GIMP Effects for Photographers 30 Jan 2009 | 12:30 pm
Below are some GIMP tutorials that demonstrate photographic effects. Selective Colorization Want to only color the eyes? Or a dress? Gimpguru.com shows you how in this tutorial: http://www.gimpguru....