You have to start with a directory - not sure if *datei* is really a directory..
You can either be lazy and do:
find /somedir| grep HelloWorld
or do it more "correct" with:
find /somedir -type f -name "HelloWorld" -print
The man page is often a good help.
---------- Post updated at 10:15 AM ---------- Previous update was at 10:14 AM ----------
To keep the forums high quality for all users, please take the time to format your posts correctly.
First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags
```text
and
```
by hand.)
Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.
Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.
I search multiple diroctorys. and then the filename is given only when there are multiple files with this wildcard. I would like but generally each file matches the format printing:
DateiInhalt.
---------- Post updated at 03:35 AM ---------- Previous update was at 03:31 AM ----------
I searching a string in a file...and would like the console-printing:
To keep the forums high quality for all users, please take the time to format your posts correctly.
First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags
```text
and
```
by hand.)
Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.
Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.