Linux Admin – cat Command
The cat command is used to concatenate files and print to standard output. Formerly, we have demonstrated both uses and abuses with the cat command. cat servers the following distinct purposes −…
For Linux
The cat command is used to concatenate files and print to standard output. Formerly, we have demonstrated both uses and abuses with the cat command. cat servers the following distinct purposes −…
The tee is a simple command, letting an administrator write command output and view a file at the same time. This simple command can save time over first writing stdout to…
Following are the common switches used with uniq. This command reports or omits repeated lines. SwitchAction-cPrefix lines by the number of occurrences-iIgnore case-uOnly print unique lines-wCheck chars, compare no more than n chars-sSkip…
sort has several optimizations for sorting based on datatypes. This command writes sorted concatenation of all files to standard output. However, be wary, complex sort operations on large files of a…
wc is useful for counting occurrences in a file. It helps print newline, word, ad byte count from each file. Most useful is when combined with grep to show matches for…
The head is the basic opposite of the tail in relation to what part of the file operations are performed on. By default, the head will read the first 10 lines of…
The tail will output (stdout) the last part of a text file. Most useful when perusing long text files and we only need to see the current updates. SwitchAction-cOutput last denoted…
In this topic, we will discuss Log Management in CentOS. ystemd has changed the way system logging is managed for CentOS Linux. Instead of every daemon on the system placing…
Here are several third-party tools that can add enhanced capabilities for CentOS traffic monitoring. we will focus on those that are packaged in the main CentOS distribution repositories and the…
Both more and fewer commands allow pagination of large text files. When perusing large files, it is not always possible to use grep unless we know an exact string to search. So we would want to…