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 525a1f9 commit 7236466Copy full SHA for 7236466
relationaloper.sh
@@ -0,0 +1,20 @@
1
+#!/bin/bash
2
+#Purpose: Relational Operators examples
3
+#Version:1.0
4
+#Created Date: Thu May 10 22:43:16 IST 2018
5
+#Modified Date:
6
+# Website: https://arkit.co.in
7
+#Author: Ankam Ravi Kumar
8
+# START #
9
+echo -e "Please provide one number: \c"
10
+read -r h
11
12
+read -r g
13
+
14
+test $h -lt $g;echo "$?";
15
+test $h -le $g;echo "$?";
16
+test $h -gt $g;echo "$?";
17
+test $h -ge $g;echo "$?";
18
+test $h -eq $g;echo "$?";
19
+test $h -ne $g;echo "$?";
20
+# END #
0 commit comments