This website requires JavaScript.
Explore
Help
Sign In
ctome
/
tldr
mirror of
https://github.com/CrimsonTome/tldr.git
Watch
1
Star
0
Fork
You've already forked tldr
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
da60c8edb1
tldr
/
pages
/
common
/
while.md
213 B
Raw
Blame
History
while
Simple shell loop.
Read stdin and perform an action on every line:
while read line; do echo "$line"; done
Execute a command forever once every second:
while :; do {{command}}; sleep 1; done