Blog Archives

The bash !$ trick: Insert the last argument of the previous command in the current command

The !$ trick works on bash, csh, tcsh and zsh, but does not work on ksh. The !$ trick is very usefull in the Linux and Unix shells. In the Bash shell, the !$ inserts (and expands) the last used

Tagged with: , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!


Subscribe to get the latest Linux news and how to guides directly on your e-mail!