if

Simple shell conditional. Echo a different thing depending on a…

if

Simple shell conditional.

{{command}} && echo "success" || echo "failure"

if {{condition}}; then echo "true"; else echo "false"; fi

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← iex ifconfig →