Linux Commands II
Linux Commands

wc command
It stands for word count. This command is used to count the number of lines, number of words and number of characters.
grep command
This command is used to search for a pattern in each file. It searches through a file what you are looking for.
- grep -i :- It ignores the case distinction.
- grep -v :- It inverts the sense of matching.
- grep -w :- It matches only the whole word.
awk command
It scans for a particular pattern within a file and grabs fields that match the specific pattern. The awk command programming language requires no compiling, and allows
the user to use variables, numeric functions, string functions, and
logical operators.
file command
This command is used to determine the type of file we are working with.
apt command
It provides a high-level command line interface for the package management system. It is intended as an end user interface and enables some options better suited for interaction usage.
Comments
Post a Comment