Skip to navigation
Bash if string example
20.05.22
#!/bin/bash # if condition is true if [ "hello" == "hello" ]; then echo "hello equals hello" fi # if condition is false if [ "hello" == "bye" ]; then echo "hello equals bye" fi
https://www.tutorialkart.com/bash-shell-scripting/bash-if/
Reply
Anonymous
Information Epoch 1754333479
Silence is golden.
Home
Notebook
Contact us