Unix

Topic: Basic

Difference Between Grep and Find command?

Find command is used to search for a file with a specific file name in a set of files.
Syntax: find .-name "fileE" -printgrep command is used to search pattern within a file.
Syntax: grep "pattern" filename

Browse random answers: