bindkey '\e[A' history-beginning-search-backward
edit: ok, I've found this: http://wiki.archlinux.org/index.php/Bash#History_search
:w !sudo tee %
I've used vim for a long time, but didn't know about this one.
$ echo !!
[up-arrow to see]
$ echo true
Is there a way to use a better codec?
The output codec? Use `-vcodec <format>`, where <format> is a video coded output by `ffmpeg -formats`.
Update: The whole comment about kbit/s was actually unnecessary, so I edited the article and replaced it with a better comment.
$ ls a b c
a b c
$ ls !$
$ ls !:3 !:2 !:1 !:0
ls c b a ls
ls: ls: No such file or directory