Answers for "how to switch to oh my bash"

0

switch zsh to bash

exec bash
Posted by: Guest on June-13-2020
1

bash switch case

case $1 in
start)
    #Start logic
    ;;
stop)
    # Stop logic
    ;;
*)
	# Default logic
    echo $"Usage: $0 {start|stop}"
    exit 1
    ;;
esac
Posted by: Guest on September-14-2020

Browse Popular Code Answers by Language