How to pick complete line while working in Loop under Unix or Linux ?
Today we will see one of the useful tip in Linux. That is when we try to search complete line text from a long file, then it take individual words...
In this category, you can see all articles related to Unix or Linux operating System.
Today we will see one of the useful tip in Linux. That is when we try to search complete line text from a long file, then it take individual words...
Today in this article we will look how to search a paragraph like content, or say get some lines before the searched text and few lines afterwards. In linux, we...
Today we will look how to search some text in a file and replace specific string on the searched line. For this, we will use sed command i.e. Linux Stream...
Today we will look at the regex to search/grep multiple characters or words from a file or output in linux. First create a file with below contents. [root@nglinux ]# cat...
Today we will look at the usage of dot “.” on Linux bash shell and how to use it in shell scripts to match a pattern. I. Usage of “.”...
Today in this post, we will look how to search or grep special characters in a file text. To search special characters in linux, we need to escape them using...
Today in this post, we will look how to remove empty lines from a file in bash shell linux. This is the easiest way to achieve this task. Removing empty/null...
Today we will look how to filter lowercase or uppercase letters/words from a file or string in Linux. The easiest way to achieve this task is to use tr command...
Today we will look at an interesting article to know how to split a line into words using extended grep command. Splitting a Line into Words [root@nglinux ~]# echo "Welcome...
In this post, we will look how to use sed command to grep a particular line in Linux. This is one of the most used command in our day to...