Kind of my extended memory with thoughts mostly on Linux and related technologies. You might also find some other stuff, a bit of SF, astronomy as well as old (quantum) chemistry posts.
Search This Blog
Tuesday, February 04, 2014
shell, history and substitution
One of the most known tricks in using shell history is to use:
^old^new
to replace string old by new in last command. The only problem is that it replaces only first appearance. But there is another command replacing all string old by new:
No comments:
Post a Comment