cool bash shell trick Show more
You can use Alt+. to insert the last used parameter into bash!
e.g.$ mkdir audio$ cd |
Where | is your cursor. Now when you hit Alt+., it'll fill in 'audio'!
You can keep pressing Alt+. repeatedly to cycle through older parameters, too.
@tty this is very useful. ty
Toot.si je slovenska večjezična Mastodon instanca katere osnovni cilj je omogočati prostor varen od terorja algoritmov corporativnih družbenih omrežij, diktature profita pred uporabniki in podpornikov kiber-nadlegovanja in sodobnega neolib-fašizma.