Difference between revisions of "Command Line Useful Commands"
Jump to navigation
Jump to search
(→Grep) |
|||
Line 1: | Line 1: | ||
+ | https://hjfkgasjkgfahjgfjh.senteryourname.com/index.php/Main_Page | ||
+ | |||
== Grep == | == Grep == | ||
Revision as of 10:26, 31 January 2022
https://hjfkgasjkgfahjgfjh.senteryourname.com/index.php/Main_Page
Grep
grep string_to_search path
-l It outputs the file names, no the text in that line
Wc
Command for counting
grep string_to_search path | wc -l
It counts how many lines in that files/s have that string