Linux introduction: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 135: Line 135:
... or in multiple files:
... or in multiple files:
{{Command|grep 'tata' fil*}}
{{Command|grep 'tata' fil*}}
Note that, in Linux, the "<code>*</code>" wildcard matches zero or more characters. The <code>?</code> wildcard matches exactly one character.
Note that, in Linux, the <code>*</code> wildcard matches zero or more characters. The <code>?</code> wildcard matches exactly one character.


<!--T:26-->
<!--T:26-->
The text to be searched for can also be variable. For example, to look for
The text to be searched for can also be variable. For example, to look for
the text "number 10 » or "number 11", etc. with any number between 10 and 29,
the text <i>number 10</i> or <i>number 11</i>, etc. with any number between 10 and 29,
the following command can be used:
the following command can be used:
{{Command|grep 'number [1-2][0-9]' file
{{Command|grep 'number [1-2][0-9]' file
rsnt_translations
53,770

edits

Navigation menu