How to reverse file content using sed command ?
In this post, we will at an interesting way how to reverse a file content using sed(stream editor) command. I. TAC Command: Command to reverse file content. ### Create a...
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...
Here is a quick tip to test a valid IP address on linux bash shell. I have recently used it in one of the scripts i need to prepare. I....
In this post, we will look how to get a specific line or a range of lines’ output from a file in linux. We will look at these options step...
Suppose you want to add line numbers to the output of some command or when reading any file. In this post we will look at a quick tip how to...
Today we will see how to replace some text from a string using sed, awk, tr and in bash shell. Suppose you want to remove “~” from a string, it...
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...