Search for string in file system in Linux

By technese - Last updated: Thursday, October 22, 2015 - Save & Share - Leave a Comment

Search for the string ‘root’ in the entire filesystem

# grep -H -R root ./* | cut -d: -f1

Source: http://www.cyberciti.biz/faq/howto-search-find-file-for-text-string

Posted in General • • Top Of Page