Category Archives: CLI

Command line tips, tricks, and shortcuts

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

Converting multiple images to one PDF on Linux

There are a number of ways you can go about the process of converting image files into PDFs, most simply by opening a given image and printing it. You can select “Print to file” instead of a printer device, PDF … Continue reading

Posted in CLI | Tagged , , | 2 Comments

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