Top Ten One-Liners from CommandLineFu Explained
catonmat.net
catonmat.net
$ !whatever:p
edit: ok, I've found this: http://wiki.archlinux.org/index.php/Bash#History_search
"\e[A": history-search-backward
If you don't type anything, it acts exactly as the old up-arrow. bindkey '\e[A' history-beginning-search-backwardhttp://www.catonmat.net/blog/the-definitive-guide-to-bash-co...
:w !sudo tee %
I've used vim for a long time, but didn't know about this one.
$ true
$ echo !!
echo true
true
[up-arrow to see]
$ echo true diff longpath_andor_longfilename{a,b}*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 c
c
$ ls a b c
a b c
$ ls !:3 !:2 !:1 !:0
ls c b a ls
ls: ls: No such file or directory
a b c
$