How to find block size in Linux and Unix

This a small how-to on getting block size of a file system in your Linux machine. To go in to that info we have to learn bit information about file-system. What is a file-system? In simple, its a way we write data on to Disks is called as file-system. There are many File-systems supported by(…)

Linux GREP command with examples

GREP command Examples GREP is a command line search utility or tool to filter the input given to it. Grep got its name from ed editor as g/re/p (global / regular expression / print). In this post we will see how to use grep in detail and next post with the help of regular expressions.(…)

Regular expressions in Linux -II

Regular Expression in Linux/Unix Part 2 This is our second part on Regular Expressions in Linux. Please have a look at our first part here. Interval Regular expressions These are used to mention no of character/character set reputation info. Note that interval regular expression and extended reg require -E option with grep Note: In order(…)

Regular Expressions in Linux Explained with Examples

Regular expressions (Regexp)is one of the advanced concept we require to write efficient shell scripts and for effective system administration. Basically regular expressions are divided in to 3 types for better understanding. 1)Basic Regular expressions 2)Interval Regular expressions (Use option -E for grep and -r for sed) 3)Extended Regular expressions (Use option -E for grep and -r for(…)