Table of Contents

About

Reserved words in bash.

This words are recognized as reserved when:

  • unquoted
  • and
    • either the first word of a simple command
    • or the third word of a case or for command.

List

  • ! : logical negation
  • case
  • do
  • done
  • elif
  • else
  • esac
  • fi
  • for
  • function
  • if
  • in
  • select
  • then
  • until
  • while
  • {
  • }
  • time
  • [[
  • ]]