Find text within a file
grep ntp messages
Finds the occurrences of ntp within messages file.
ls -l | grep mysqld
Lists the properties of mysqld file.
Find file
find . -name "*.log" -print
Finds files with .log postfix
Kaydol:
Yorumlar (Atom)