Tag Archives: Bash

Awesome new keyboard shortcuts

A few new bash shortcuts I have recently come across that fill me with joy: “Alt + .”: This inserts the last argument to the last command. So say you just tailed a config file and you want to vim … Continue reading

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

Bash history tips and tricks

Commands you type at a bash prompt are likely stored in what is known as your bash history. Some minor tweaks to how this history is written can be quite handy. Here are the ones I have found most useful, … Continue reading

Posted in CLI | Tagged , , , | 5 Comments

Lost in a sea of terminals

Usually I enjoy my screen being covered with a variety of terminals across multiple servers. But on occasion, I type utterly the wrong thing, in utterly the wrong place, and calamity ensues. So to provide a slight buffer against this, … Continue reading

Posted in CLI, Desktop | Tagged , | 2 Comments

Handy script: LAMP stack version printer

Often when troubleshooting or setting up servers, I need to know the installed versions of applications commonly grouped into the “LAMP” stack. I dislike having to remember the slight differences between them when trying to coerce each to divulge their … Continue reading

Posted in CLI, Linux | Tagged , , , , , | 1 Comment

Reference script for CLI color codes

I have been experimenting with adding more color to my bash prompts of late. I find it easier to read when the fields are in distinct colors. The problem I always have is remembering what those wonderfully obscure ANSI escape … Continue reading

Posted in CLI | Tagged , , | 1 Comment