Command Line Useful Commands

From Interaction Station Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Command Line Cheat Sheet

A collection of useful command line commands:
https://hjfkgasjkgfahjgfjh.senteryourname.com/index.php/Cheat_Sheet

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