Command Line
Installing Perl Modules Manually
If you do Perl programming or if a program you have needs a perl module, you could download and compile it manually but the easier way would be to use CPAN (the Comprehensive Perl Archive Network). CPAN First thing you should do is see if your distribution has it in it’s packages repository so that […]
Vi(m) Reference Card
I use the Vi Reference Card all the time but I seem to have lost my copy and since my printer is broke I decided to make an html version of it: Vi(m) Reference Card
Backup Configurations with tar Helpers
Update: This article has been supplanted by The Beauty of rsync and Backup Script. When I have to do a reinstall, sometimes I have to install from scratch – doing a clean install is just sometimes necessary. My configurations are priceless to me and after my reinstall I restore them from a backup copy. Here’s […]
Restore Settings on a Broken Firefox
Update: 09-29-11 – Using script to automate process, see end of post. When people have a issue with Firefox I’ve seen many people will resort to deleting their old profile (or folder) and creating a new one. This works but doing this will get rid of any passwords, history, bookmarks… therein. Having used Firefox quite […]
Getting Help from Console
If you’re in console (aka virtual console) doing an install or repairs on a system, it’s good to know how to get help if problems occur. “Ground Control…” To get help in console you can use a chat client. Read this page on how to set up irssi – a terminal/console IRC program. The guide […]
Less Colors For Man Pages
Man pages by default use less for displaying. I’ve used vim before to for colored text in man pages but something got bjorked in an update. To have color with man pages termcap will need to be invoked. Thanks to nico for the tip. All that needs to be done is to export bold and […]
Updating BIOS with Linux
If you don’t have Windows installed and you need to upgrade your BIOS, Linux does have the tools to be able to create a BIOS flash CD. Not many companies make Linux flash utilities and alot of these utilites are DOS utilities so a bootable DOS disk is needed. This is a simple, easy way […]
Color Output on Bash Scripts (Advanced)
I talked in a previous post about basic bash script colored output using the tput command. The tput command works for basic coloring (providing seven colors to choose from) but ANSI also provides a 256 color palette. Note: Not all terminals support ANSI, but most do. ANSI color coding is in this form: \033[01;38;5;160m The […]
Color Output on Bash Scripts
Users who have been using Linux for awhile often learn that creating a basic script is a good way to run multiple, often-repeated commands. Adding a little color to scripts can additionally provide nice feedback. This can be done in a fairly straight-forward way by using the tput command. A common way of doing this […]
Linux Tidbits
Regular commands I use every day in Linux plus a few eclectic ones. Basically geared to the new user. Tips or thoughts, please let me know. Man pages In Linux there is a manual for just about anything. Learn about almost everything by “man command” in the terminal. (e.g. man ls). Or type “command –help” […]
Creating Quality Web Sized PNGs with ImageMagick
Note: This is a post with me messing around with ImageMagick and it’s good food for thought, however as a reader pointed out I accidentally started with a lossy image and turned it to a lossless image which was a mistake on my part. I recently posted The Battle for Wesnoth – 1.4 picture review, […]