Skip to content

Tag Archives: Linux-text-processing-commands

In this article, we are going to see how to convert multiple rows into a single row using Linux. Here is the file for demonstration:… Read More
String replacement is the process of replacing a string with another in a particular block of code, text, or the entire file. There are instances… Read More
In this article, we will learn to replace the braces symbol from a text file in the Linux system. We will use the tr command… Read More
In this article, we will discuss how to remove the last character from the string in Linux.  In Linux, there are various commands and techniques… Read More
Printing lines that contain a particular string at the beginning is quite annoying to manually deal with, so we can make use of bash to… Read More
gawk command in Linux is used for pattern scanning and processing language. The awk command requires no compiling and allows the user to use variables,… Read More
iconv command is used to convert some text in one encoding into another encoding. If no input file is provided then it reads from standard… Read More
rev command in Linux is used to reverse the lines characterwise. This utility basically reverses the order of the characters in each line by copying… Read More
colcrt command in Linux systems is used to format the text processor output so that it can be viewed on Cathode Ray Tube displays. It… Read More
ed command in Linux is used for launching the ed text editor which is a line-based text editor with a minimal interface which makes it… Read More
The csplit command is used to split any file into many parts as required by the user. The parts are determined by context lines. Output… Read More
column command in Linux is used to display the contents of a file in columns. The input may be taken from the standard input or… Read More
colrm command in Linux is used for editing text in source code files, script files or regular text files. This command removes selected columns from… Read More
ex(stands for extended) is a text editor in Linux which is also termed as the line editor mode of the vi editor. This editor simply… Read More
diff3 command is used to compare the three files line by line. It internally uses the diff command to compare. When three files are compared… Read More