How i can create while loop as SINGLE LINE for command-line /bin/sh -
i can't create cycle single line in /bin/sh
i tried:
while true; do; sleep 1; done
how can it?
if want sleep 1, remove ; after do.
if want run command , sleep 1, add command after do so:
while true; echo "hi"; sleep 1; done
Comments
Post a Comment