summaryrefslogtreecommitdiffstats
path: root/myls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'myls.sh')
-rwxr-xr-xmyls.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/myls.sh b/myls.sh
new file mode 100755
index 0000000..2b80c9a
--- /dev/null
+++ b/myls.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+LIST=(*)
+ARR_SZ=${#LIST[@]}
+for ((i = 0; i < ARR_SZ; i++))
+do
+ echo "${LIST[$i]}"
+done;
+