
histexpand
List of commands for histexpand:
-
histexpand:tldr:05185 histexpand: Run the command `n` lines back in the history.$ !-${n}try on your machineexplain this command
-
histexpand:tldr:216b6 histexpand: Run a command with the last argument of the previous command.$ ${command} !$try on your machineexplain this command
-
histexpand:tldr:24287 histexpand: Run the previous command as root (`!!` is replaced by the previous command).$ sudo !!try on your machineexplain this command
-
histexpand:tldr:2b239 histexpand: Run the Nth command of the history.$ !${n}try on your machineexplain this command
-
histexpand:tldr:7a883 histexpand: Run the previous command, replacing `string1` with `string2`.$ ^${string1}^${string2}^try on your machineexplain this command
-
histexpand:tldr:b9efd histexpand: Perform a history expansion, but print the command that would be run instead of actually running it.$ ${!-n}:ptry on your machineexplain this command
-
histexpand:tldr:e4edc histexpand: Run the most recent command containing `string`.$ !?${string}?try on your machineexplain this command
-
histexpand:tldr:f307e histexpand: Run a command with the first argument of the previous command.$ ${command} !^try on your machineexplain this command