We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ccc04 commit 54bb512Copy full SHA for 54bb512
array.sh
@@ -0,0 +1,19 @@
1
+#!/bin/bash
2
+#Purpose: Array Example
3
+#Version:1.0
4
+#Created Date: Mon May 28 22:59:22 IST 2018
5
+#Modified Date:
6
+#WebSite: https://arkit.co.in
7
+#Author: Ankam Ravi Kumar
8
+# START #
9
+fruits=( "Apple" "Orange" "Banana" "Sapota" )
10
+fruits[3]='Green Apple'
11
+for fruit in ${fruits[@]}
12
+do
13
+ echo "Fruit Name is $fruit"
14
+done
15
+
16
+echo "Number of Fruits in Bucket is" ${#fruits[@]}
17
+echo "All Fruits ${fruits[@]}"
18
19
+# END #
0 commit comments