Command Line Useful Commands

From Interaction Station Wiki
Revision as of 20:37, 28 June 2019 by Javi (Talk | contribs) (Grep)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


grep string_to_search path
-l It outputs the file names, no the text in that line


Command for counting
grep string_to_search path | wc -l 

It counts how many lines in that files/s have that string