sábado, 19 de dezembro de 2009

Bash::VI Search Style (K)Ubuntu

How to configure your Bash(konsole) to do a search VI style. On your bash:


~$ cd
~$ vi .inputrc

# Vim style history search
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[C": forward-char
"\e[D": backward-char
# normal style - commented, so they'll not be used
# "\e[A": previous-history
# "\e[B": next-history

quarta-feira, 9 de dezembro de 2009

Queen - Bohemian Rhapsody::Muppets

Duas homenagens em Um:

SSH - Session Timeout

How to prevent SSH from session timeout (when you leave your connection idle for some time).
Just add this to ~.ssh/config:

# Preventing timeout de ligacao ssh
ServerAliveInterval 30
ServerAliveCountMax 6


source