FMeinicke's Wiki

Home

❯

Linux

❯

Shells

❯

bash

❯

General

❯

no op

no-op

May 26, 20251 min read

  • bash/while
  • bash/loop
  • bash/no-op

while loop no-op

Source

  • https://stackoverflow.com/a/44970525/12780516
  • a no-op (e.g., in a loop) is done with a colon (:) instead of an empty loop body
while true; do
    :
done

Graph View

Created with Quartz v4.5.0 © 2025

  • GitHub