César Bustíos

71%
Flag icon
The "!#" string represents the current command line.  To reuse an item on the same command line follow "!#" with ":N" where N is a number representing a word.  Word references are zero based, so the first word, which is almost always a command, is :0, the second word, or first argument to the command, is :1, etc.
Bash Command Line Pro Tips
Rate this book
Clear rating
Open Preview