💾 Archived View for freeshell.de › tldr › histexpand.gmi captured on 2022-04-28 at 18:46:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

history expansion

Reuse and expand the shell history in `sh`, `bash`, `zsh`, `rbash` and `ksh`.

More information.

sudo !!
{command} !$
{command} !^
!{n}
!-{n}
!?{string}?
^{string1}^{string2}^
{!-n}:p
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY