HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

then — This shell keyword is used in combination with `if` and `elif` to separate branches and branch condi

Submitted by: @import:tldr-pages··
0
Viewed 0 times
shellcommandkeywordthisusedclicombinationthen

Problem

How to use the then command: This shell keyword is used in combination with if and elif to separate branches and branch conditions.

Solution

then — This shell keyword is used in combination with if and elif to separate branches and branch conditions.

View documentation for if command:
tldr if

Code Snippets

View documentation for `if` command

tldr if

Context

tldr-pages: common/then

Revisions (0)

No revisions yet.