Command Line

Go to the last directory

cd -

Save dir to directories stack and can be popd:

pushd dir
popd

Clear terminal without clean:

ctrl+l

Put it as a foreground/background process:

ctrl+z 

Get the foreground process

fg

Repeat the last command:

!!

Search command in history:

ctrl + r

Execute command n of history:

!n

Deletes everything in that line:

ctrl+u

Go to the end of the line:

ctrl+e

Go to the beginning of the line:

ctrl+a

See in real time changes of a file:

tail -f directory

Put the output of the command in columns:

command | column -t