Linux : find & grep
Solved
2009
-
Gavroche -
Gavroche -
Hello,
you need to use the following command with grep and find:
display the names of files that contain the word "premier" starting from your "home" folder.
I tried with: find ~ -name * -print -exec grep "premier"
but I'm only able to display the lines... how can I display the file names?
you need to use the following command with grep and find:
display the names of files that contain the word "premier" starting from your "home" folder.
I tried with: find ~ -name * -print -exec grep "premier"
but I'm only able to display the lines... how can I display the file names?
Configuration: Windows XP Firefox 3.0.1