Posts tagged with bash

Autoloading inputrc on ssh login

When I ssh-ed into the ece server, inputrc was not loaded by default. So command-line history was not iPython-like. To make this happen, just press Ctrl-X Ct...

Single quotes in bash

In bash, single-quotation causes all characters within to be treated as literal. “A single quotation mark may not appear within single quotes; not even when ...

Getting time stamps for bash history

In order to get a time-stamped command line history for bash, look up the HISTTIMEFORMAT setting in the man pages for bash. My HISTTIMEFORMAT is currently se...

IPython-like completion in bash

To get ipython-like command completion in bash, i.e. to make it so that bash will only search the subset of history that starts with letters you have already...

Installing new bash completion files

If you want to install a new completion file, for example django_bash_completion, then simply add the script to /etc/bash_completion.d/. The rest is taken ca...