CATEGORY

Shell Scripting

Bash For Loop usage guide for absolute beginners

For loop in bash is used to iterate a certain command or task for a definite or infinite range. You can also use this in C programmer style, combine with …

By admin · 10 min read · Shell Scripting

How to PROPERLY Compare Numbers or Integers in Bash

Examples to compare numbers and integers using bash shell script. You can compare variable with numbers using different methods in Linux and Unix shell

By admin · 11 min read · Shell Scripting

How to Compare Strings in Bash

How to compare strings in shell script in Linux and Unix. perform regex and pattern match or strings and sub strings. Learn about different comparison operator

By admin · 10 min read · Shell Scripting

Shell script to check login history in Linux

linux login history. check login attempts. check successful and failed login attempts using shell script in Linux. auth log successful login. linux login audit

By admin · 6 min read · Shell Scripting