• Home » kb
  • Linux Regular Expressions Fundamentals

    Posted at January 5, 2017 at 4:27 pm by Jithin

    Regular expressions is a pattern-matching language used for enabling applications to sift through data looking for specific content. In addition to vim, grep, and less using regular expressions, programming languages such as Perl, Python, and C all use regular expressions when using pattern-matching criteria. Regular expressions are a language of their own, which means they have their own syntax and rules. In this tutorial, we will can take a look at the syntax used in creating regular expressio   [...]

    Read More

    Linux grep command usage with examples

    Posted at December 23, 2016 at 12:17 pm by Jithin

    The grep command which stands for "global regular expression print," processes text line by line and prints any lines which match a specified pattern. The grep command is used to search text or searches the given file for lines containing a match to the given strings or words. By default, grep displays the matching lines. Use grep to search for lines of text that match one or many regular expressions, and outputs only the matching lines. Grep is considered to be one of the most useful commands o   [...]

    Read More

    Unix Z Commands

    Posted at October 28, 2016 at 4:23 pm by Jithin

    In this tutorial we can discuss about some of the powerful Z commands in Linux to perform normal operations on a compressed file. Some Z commands uncompress the file temporarily in /tmp directory to perform the operation defined. An advantage of using Z commands to uncompress a file is that it does not really uncompress the files to perform the operation. It will be a great relief for those who really are not intended to uncompress the compressed files for any verification or checking purposes.    [...]

    Read More