Discovering systems

Module-4- How to use Conditionals in Bash scripting

Table of contents Introduction Conditionals for the Strings in bash scripting Single square bracket Syntax in bash conditionals for Strings Checking whether the string is a empty string using conditionals Double Square bracket syntax in bash conditionals for Strings Conditionals for Integers Square bracket Syntax for Integers in bash conditionals Double parenthesis syntax for the Arithmetic …

Module-4- How to use Conditionals in Bash scripting Read More »

Module-2 How to do arithmetic operations in bash using the integers and float

Table of Contents Introduction Wondering how to do arithmetic operations in Bash scripts for integers and float like variables ?  This article covers those in detail with examples  How Arithmetic Expansion works for bash integer variables We can do Arithmetic calculations in bash using the Arithmetic expansion concept for the integers , float point is not …

Module-2 How to do arithmetic operations in bash using the integers and float Read More »

Module-1 How to create and use variables in Bash scripts

Table of Contents Introduction Wondering how to create and use variables in your bash script ? This article covers the process in detail with examples. In Bash the variables are dynamically Typed , which means its type is treated as string or the integer based on the context during the runtime. In this article we …

Module-1 How to create and use variables in Bash scripts Read More »

How to rotate packet capture files using tcpdump

Table of Contents Introduction – How to use file rotation in tcpdump Wondering how to do packet captures for longer durations despite having very less storage space ? Or how to run rotating packet capture using tcpdump ? This article helps you understand a useful mechanism in the tcpdump tool which helps us to rotate …

How to rotate packet capture files using tcpdump Read More »