1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-06 16:48:01 +00:00
Files
til/zsh/repeat-yourself.md
2015-06-25 08:29:25 -05:00

16 lines
234 B
Markdown

# Repeat Yourself
Use the `repeat` command to repeat some other command.
You can repeat a command a handful of times
```
$ repeat 5 say Hello World
```
or you can repeat a command indefinitely
```
$ repeat -1 say Hello World
```