Command Cat & tac
The cat command is a utility command in Linux. One of its most commonly
known usages is to print the content of a file onto the standard output stream. Other
than that, the cat command also allows us to write some texts into a file
tac command in Linux is used to concatenate and print files in reverse.
Command nl
nl command is a Unix/Linux utility that is used for numbering lines
Command tr
The tr command reads a byte stream from standard input (stdin),
translates or deletes characters, then writes the result to the standard output
Command cut
cut is
a command-line utility that allows you to cut parts of lines from
specified files or piped data and print the result to standard output.
Command uniq
The uniq command in Linux is a command line utility that reports or filters out the reeated
lines in a file.
Command grep
grep texte nom_du_fichier (Syntax)
Recherche simple d'un texte dans un fichier
grep -i texte nom_du_fichier (Syntax)
Recherche sans distinction entre le majuscule et le minuscule
grep-v texte nom_du_fichier (Syntax)
Affiche les lignes qui ne contiennent pas le texte
grep -r texte nom_du_dossier/(Syntax)
Recherche le texte dans tous les fichiers qui se trouvent dans le dossier et les sous dossiers de
nom_du_dossier/
Command wc
wc stands for word count. As the name implies, it is mainly used for counting
purpose.
command Head & tail
The head command prints the first lines of one or more files or piped
data to standard output .
Linux tail command is used to display the last lines of one or more files.
Command od
od command in Linux is used to convert the content of input in different formats with
octal format as the default format.
Command paste
paste is
a command that allows you to merge lines of files horizontally. It outputs
lines consisting of the sequentially corresponding lines of each file specified as an
argument, separated by tabs.
Command pr
Pr In Linux/Unix pr command is used to prepare a file for printing by adding suitable footers
headers
Command sort
SORT command is used to sort a file, arranging the records in a particular
order. By default, the sort command sorts file assuming the contents are
ASCII. Using options in the sort command can also be used to sort
numerically.d the formatted text.