3 ms·
control-r for reverse shell history search. Took me a couple of years of history|grep before I bothered to look it up control-x * to expand a glob pattern di
by procaryote 1y ago
control-r
for reverse shell history search. Took me a couple of years of history|grep before I bothered to look it up
control-x *
to expand a glob pattern directly. So if you're writing "rm foo*" and you want to be sure what it will actually do, C-x * and you now have it explicit and editable
Works in bash at least
- jwrallie 1y agoescape + . for repeating the last argument from the last command There are other commands to grab other arguments [0]. [0] https://stackoverflow.com/questions/4009412/how-to-use-arguments-from-previous-command https://stackoverflow.com/questions/4009412/how-to-use-argum...