shell, bash, ssh

HowTo

http://tldp.org/HOWTO/Bash-Prompt-HOWTO/

History (2012-08-06)

To make use of the history one can use

history | grep xxx

or press ctrl-r to obtain a history-completion.

http://www.ducea.com/2006/05/15/linux-tips-take-control-of-your-bash_history/

The size of the history can be set via

echo $HISTSIZE

export HISTSIZE=xxx

http://www.linuxquestions.org/questions/linux-newbie-8/bash-history-limit-775909/

Colors

Auto-Completion

add these lines to the .bashrc:

if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

https://answers.launchpad.net/ubuntu/+source/gnome-terminal/+question/27843

Apt-Get autocompletion

install bash-completion http://ubuntuforums.org/showthread.php?t=734023

Sudo Visudo

http://www.go2linux.org/sudoers-how-to

ssh with rsa key to avoid passwort typing

http://news.softpedia.com/news/How-to-Use-RSA-Key-for-SSH-Authentication-38599.shtml

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: