Skip to content
BWORK

ACADEMIC

  • HOME
  • GNU AND LINUX KERNEL
  • GITHUB
  • BLOG
  • SOURCES
  • LEGAL
  • OTHER
    • ALGORITHM
    • DESIGN
    • READER

Fundamental related of a bash builtin command named “if”

Jeffrin November 9, 2019 Bash, Bash Builtin bash builtin if, if

ABOUT if

Conditionals have many forms. The most basic form is: if expression then statement where
'statement' is only executed if 'expression' evaluates to true. '2<1' is an expresion that evaluates to false, while '2>1' evaluates to true.xs

TYPICAL SHELL EXPOSURE
[bash]
$if true; then echo "works" ; fi
works
$if false; then echo "works" ; fi
$
[/bash]

LINK
https://stackoverflow.com/questions/16034749/if-elif-else-statement-issues-in-bash
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-6.html

Fundamental of a bash builtin command named "unalias"PREV
HEBREW 5:8-9NEXT

menu-bottom

  • SYSTEM
  • ALGORITHMS
  • TRUEANGLE
  • DOLLECT
  • DATABASE
  • GRAPHICS

Archives

Search

Created with Taproot