Archive For March 26, 2015

bash command reuse

By |

When you get tired of typing the same argument over and over Alt + . cycles through previous args On the command line you can use substitutions like these > echo 1 2 3 4 # reuse the 3rd argument of previous command > echo !:3 > ls -l /path/to/really/long/dir # last command line argument…

Read more »