Linux Admin – more and less Command
This topic is about Linux Admin - more and less Command. Both more and less commands allow pagination of large text files. When perusing large files, it is not always possible to use grep unless we…
This topic is about Linux Admin - more and less Command. Both more and less commands allow pagination of large text files. When perusing large files, it is not always possible to use grep unless we…
This topic is about Linux Admin - Grep Command. grep is commonly used by administrators to − Find files with a specific text stringSearch for a text string in logsFilter command…
This Topic is about Linux Admin - Using the vi / vim Text Editor. vim represents a newer, improved version of the vi text editor for Linux. vim is installed by…
This topic is about Linux Admin - tail Command tail will output (stdout) the last part of a text file. Most useful when perusing long text files and we only need…
This topic is about Linux Admin - Basic Math Operations. Bash does integer math using the common operators for addition, subtraction, multiplication, and division. +Addition-Subtraction*Multiplication/division%Modulus<<Increment--Decrement When performing math operations, it…
This Topic is about Linux Admin - Read and Write to Files. Both reading and writing to files in BASH can done with the input and output redirectors. We have…
This Topic is about Linux Admin - Loop Control. Sometimes (a lot times actually) we will either want to skip loop iteration operation or break out of a loop prior…
This Topic is about Linux Admin - Conditionals. While loops are the main control structures for operational flow, logical operations need to be performed as well. Logical operations can be…
This Topic is about Linux Admin - Loops. Like all other programming languages BASH makes use of common looping structures − for, while, and until. for loop The for loop…
This Topic is about Linux Admin - Variables. Variables in Bash are used like any other scripting language. The syntax may vary from languages such as Perl, Python and Ruby. The first…