Skip to content

michalstanko/linux-cli-cheat-sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

Linux command line cheat sheet

Recursively search for a string in files of specified type:

grep -r --include=\*.js "string to search for" ./path/to/folder
grep -r --include=\*.js --include=*.css "string to search for" ./path/to/folder

Find a file:

find ./where/to/look -type f -name 'file-name'

Find a directory:

find ./where/to/look -type d -name 'directory-name'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages