Skip to content
The Shell Reliquary

/static/relicario/en/reliquia/palavra-todas/

Menu

SHL-012 · Words

!:*

All the arguments of the previous line, without the command.

The exact complement of !:0: it drops the command and keeps everything that came after. Change the verb, keep the objects.

It's the designator for whoever types long lists of files and wants to hand them from one command to the next without rework.

$ cat notas.md diario.md
…
$ wc -l !:*
wc -l notas.md diario.md
The same files, now counted instead of read.