Bash endless loop

How can I execute something to run forever, like an endless loop in bash?

while [ 1 = 1 ]
do
   echo "Print this string forever: bash endless loop";
done

Related posts:

  1. Multiple search and replace in a file
  2. Generate random number
  3. HandBrake CLI Linux examples to convert vob/mp4/avi/ogm/mkv/mpeg/xvid/ts
  4. Change Ubuntu week start day to Monday
  5. (Magyar) LCD monitor vasarlasi tipp – yo5at

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>