Linux Today: Linux News On Internet Time.

More on LinuxToday

How to Compare Numbers, Strings and Files in Bash Shell Script

Apr 27, 2017, 04:00 (0 Talkback[s])
(Other stories by Pradeep Kumar)

In this tutorial on Bash scripting, we are going to learn to do comparisons. We will be discussing numeric, strings & file comparisons in a Bash script. Comparisons in a script are very useful & one of the most used statements, and we must know how we can use them to our advantage.

Complete Story