mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-26 07:23:58 +02:00

* !: add Spanish translation * !: fix placeholder in description --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
24 lines
632 B
Markdown
24 lines
632 B
Markdown
# Exclamation mark
|
|
|
|
> Comando bash integrato per sostituire con un comando trovato nella cronologia.
|
|
> Maggiori informazioni: <https://www.gnu.org/software/bash/manual/bash.html#Event-Designators>.
|
|
|
|
- Sostituisci con il comando precedente ed eseguilo con sudo:
|
|
|
|
`sudo !!`
|
|
|
|
- Sostituisci con un comando in base al numero di riga trovato con `history`:
|
|
|
|
`!{{numero}}`
|
|
|
|
- Sostituisci con un comando che è stato utilizzato un numero specificato di righe indietro:
|
|
|
|
`!-{{numero}}`
|
|
|
|
- Sostituisci con il comando più recente che inizia con stringa:
|
|
|
|
`!{{stringa}}`
|
|
|
|
- Sostituisci con gli argomenti dell'ultimo comando:
|
|
|
|
`{{comando}} !*`
|