Event designators in Shells

Today I learned abour event designators (exclamation point):

!! # run the last command
!-10 # run the 19th previous command
!cd # run the last cd command in history

From Distrotube


About · Blog · TIL · Links · Projects · Contact ·