summaryrefslogtreecommitdiffstats
path: root/hello-alinne.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-09-24 14:00:59 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-24 14:00:59 +0200
commit1992e208422c3ed64e3b843fd8e2f7e79dced64e (patch)
treec7b43deb05bc38c5b81616eb7e26a0c68fd1ca80 /hello-alinne.sh
downloadtest3-1992e208422c3ed64e3b843fd8e2f7e79dced64e.tar.bz2
test3-1992e208422c3ed64e3b843fd8e2f7e79dced64e.tar.xz
initial commit
Diffstat (limited to 'hello-alinne.sh')
-rwxr-xr-xhello-alinne.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/hello-alinne.sh b/hello-alinne.sh
new file mode 100755
index 0000000..4bd1e70
--- /dev/null
+++ b/hello-alinne.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+
+echo "hello what is your name?"
+
+read name
+
+if [ "$name" = "alinne" ]; then
+ echo "Beautiful name!"
+else
+ echo "hello $name"
+fi