What is this?
From advanced Bash tricks to Python gotchas to MySQL tutorials, this blog covers various topics in programming and systems administration. Find out how to get more done and have fun! Keep up with the latest by subscribing to the RSS feed!About the Author
This is the tech blog of Samuel Huckins. You can check out my homepage and other websites below, or send me a message here.-
Recent Posts
Post categories
Tags
Apache Apple Bash bookmarks CLI command database Desktop disk editor efficiency Excel filesystem firefox graph graphing hardware HTML information keyboard Launchy Linux logging migration Mobile monitoring MySQL PDF Programming putty Python Ruby scripting Security ssh subversion svn sysadmin Trac Ubuntu vim Vista web web applications WindowsBlogroll
Handy Links
My Sites
My del.icio.us
- Posts 191
- Words in Posts 69,962
- Comments 482
Tag Archives: CLI
Bag of useful Bash aliases and functions
Here are a number of assorted aliases and functions for Bash that I’ve made in the last few months and found to be useful. Enjoy!
Counting columns in a CSV from the CLI on Linux
In wrangling some DB exports recently I needed the number of columns in multiple CSVs. It’s easy enough to just open them in OpenOffice and check the final column number, but I wanted a CLI utility. I even entertained some … Continue reading
Dealing with “could not create shared memory segment” from postgres on Ubuntu
After installing postgresql-8.4 from the Ubuntu repos on an Ubuntu 9.10 machine, I received the following when the daemon tried to start up: 1234567 * The PostgreSQL server failed to start. Please check the log output: FATAL: could not create shared … Continue reading
Tune MySQL like a pro with MySQLTuner
I came across MySQLTuner recently and was most pleasantly surprised. It’s a Perl script that only requires your MySQL user and password to provide detailed and useful checks of a running MySQL instance. First though, check out the awesome URL … Continue reading
Fun with ASCII art
No, in fact ASCII art isn’t dead, it’s all the rage. Now that that’s established, check out these handy programs for generating your own ASCII art messages: 1figlet -f smslant Boxes rules. | boxes -d parchment -a hcvc Figure 1. … Continue reading







