Bash manual and animal example added

This commit is contained in:
Mert Gör 🇹🇷 2024-06-30 18:37:05 +03:00
parent ea029d79ca
commit 6e1cefb3ec
Signed by: hwpplayer1
GPG Key ID: 03E547D043AB6C8F
3 changed files with 17 additions and 0 deletions

8
ChangeLog Normal file
View File

@ -0,0 +1,8 @@
2024-06-30 hwpplayer1 <hwpplayer1@debian>
* bash.pdf: BASH Manual added
* animal.sh: animal bash example
* hello.sh: hello world example

9
animal.sh Normal file
View File

@ -0,0 +1,9 @@
echo -n "Enter the name of an animal: "
read ANIMAL
echo -n "The $ANIMAL has "
case $ANIMAL in
horse | dog | cat) echo -n "four";;
man | kangaroo ) echo -n "two";;
*) echo -n "an unknown number of";;
esac
echo " legs."

BIN
bash.pdf Normal file

Binary file not shown.