Tag Archives: CLI

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

Posted in CLI | Tagged , , , | Leave a comment

Tune MySQL like a pro with MySQLTuner

I don’t know why I didn’t know about this before (or why I forgot about it, more likely), but I came across MySQLTuner recently and was most pleasantly surprised. It’s a Perl script that only requires your MySQL user and … Continue reading

Posted in MySQL | Tagged , , , | Leave a comment

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

Posted in CLI | Tagged , | 7 Comments

Viewing all users on a Linux system

There are a number of widely-used and stable utilities on Linux systems that allow you to view information related to users. You can see who’s logged in with who, get info on a particular user with finger, see who you … Continue reading

Posted in CLI | Tagged , , , | 7 Comments

Get useful image information on the command line

ImageMagick is an incredible set of programs that allow you to get all sorts of information on image files from the command line, as well as batch edit and generally alter images of many varieties. You can read all about … Continue reading

Posted in CLI | Tagged , , | Leave a comment