Tagged: awk


How To Get Linux Network IP Address In Different Ways ?

We can determine Linux system IP address in different ways. IP address is used to communicate over network and can be get and set in different ways. In this tutorial we will use Ubuntu distribution but given examples and commands will work for all of the different Linux distribution like...


Vim Copy, Cut and Paste Commands and Operations

Vim provides different shortcuts for copy, cut and paste operations. These commands are one of the most used and problematic commands because of vim command or shortcut based work style. Copy Current Line We can copy current line with the yy command which is named yank. But the cursor should be...


Awk Regular Expression Commands and Examples

Awk is very popular and useful tool for text and string manipulation. Regex or regular expression is generic language used to define text and string structures. Awk can Syntax Regular expression for awk can be used with the following syntax.

REGULAR_EXPRESSION is the regular expression we want to run ....


Awk Logical Operators – OR , AND , NOT

Boolean expressions are used to determine given conditions occurrence. Awk provides basic logical operators or and , or and not logic operators. In this tutorial we will look basic usages of these logical operators. Boolen logic operators mainly used with conditional statements where we can get more information from following tutorial. Awk If,...


Awk If, If Else , Else Statement or Conditional Statements

Awk is very popular text processing tool. Awk provides different functionalies and structures like programming languages. if – if else is very useful conditional statement used to create decision trees. if – if else used to check given situation or operations and run accordingly. For example we can check the age of...


Awk Print Tutorial With Examples

Awk is a stream type programming language. Awk can edit given text ant provided new text according to instructions. We will look popular usages of Awk in this  tutorial. There are alternative awk implementations like below Nawk Gawk Awk Syntax Awk is line oriented so by default provided text is...

Enjoy this blog? Please spread the word :)