BLOG

Latest Articles

10 examples to generate SSH key in Linux (ssh-keygen)

Use ssh-keygen to generate SSH key to use public key based authentication in Linux. Create key pair with custom filename, change passphrase of existing private …

By admin · 7 min read · CheatSheet

Bash while loop usage with examples for beginners

Absolute beginners guide to learn bash while loop with shell script examples. Use while true loop with break and continue statement, nested while loop, while …

By admin · 13 min read · 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

SOLVED: SSH fails with postponed publickey error

[Solved} Steps to debug and fix postponed publickey error leading to SSH connection failure. You may also get ROOT LOGIN REFUSED, Failed pubkey, permission …

By admin · 7 min read · SSH

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