Linux Commands II

Linux Commands

Linux Mastery: Mastering the Linux Command Line | Udemy


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.






gzip command

This command is used to reduce the size of a file.


Comments

Popular posts from this blog

Some tips about the right way to charge your phone

Software Basics

Some unique and weird things about Japan