filter

tr Command in Linux

1.0 tr The tr command is a filter which reads the standard input, translates or deletes characters and writes on its standard output. The tr command syntax is, tr [OPTION]… SET1 [SET2] tr transliterates characters from SET1 into corresponding characters of SET2 in input and writes resulting text on the standard output. For example, to …

tr Command in Linux Read More »

Awk Tutorial

1.0 awk awk is a filter which takes the input and gives output after matching desired patterns and doing processing linked to matched patterns. awk is well suited for processing voluminous raw text data and producing statistical reports from it. awk is named after the first character of the names of its designers, Al Aho, …

Awk Tutorial Read More »

Sed command in Linux

1.0 sed sed is a stream editor that accepts a list of commands and input file names. It applies the commands one by one on each line of input and writes the resulting lines on the standard output. The commands are separated by newlines. 2.0 sed Command syntax sed [OPTIONS] ‘list-of-sed-commands’ filenames … sed is …

Sed command in Linux Read More »

Network Traffic Control with tc command in Linux

1.0 Network Traffic Control For any host connected to a network, there is the possibility of network congestion. The network bandwidth is always limited. As the data flow on a network link increases, a time comes when the quality of service (QoS) gets degraded. Some of the data packets are delayed and/or lost. New connections …

Network Traffic Control with tc command in Linux Read More »