Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions 04-life.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ echo "What is the meaning of life?"
read meaning


if [ "$meaning" -eq 42 ]; then
echo "Yes!, That is the meaning of life!"
if [ "$meaning" = "42" ]; then
echo "Correct! 42 is the meaning of life."
else
echo "Awww... You don't know the meaning of life"
echo "Nope — try again."
fi


# here are some other arithemetic comparison operators
# -eq -ne -gt -ge -lt -le

Expand Down
Binary file added GitHub_NetworkPic1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TinaLy/GitHub_NetworkPic1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TinaLy/GitHub_NetworkPic2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions TinaLy/print_name.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo "Tina Ly"
Binary file added two-branches.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.