Linux introduction: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 13: Line 13:


<!--T:4-->
<!--T:4-->
To find manual pages pertaining to a certain subject or keyword (for example "directory"), please enter:
To find manual pages pertaining to a certain subject or keyword (for example <i>directory</i>), please enter:
{{Command|apropos directory}}
{{Command|apropos directory}}
By convention, the executables themselves contain some help on how to use them.
By convention, the executables themselves contain some help on how to use them.


<!--T:5-->
<!--T:5-->
Generally, you invoke this help using the command line argument <code>-h</code> or <code>--help</code>, or in certain cases, <code>-help</code>.
Generally, you invoke this help using the command line argument <code>-h</code> or <code>--help</code>, or in certain cases, <code>-help</code>.


== Orienting yourself on a system == <!--T:6-->
== Orienting yourself on a system == <!--T:6-->
Line 80: Line 80:


<!--T:16-->
<!--T:16-->
Permissions apply to 3 different classes of users, the owner (<code>u</code>), the group (<code>g</code>), and all others or the world (<code>o</code>). To know which permissions are associated to files and subdirectories of the current directory, use the following command:
Permissions apply to 3 different classes of users, the owner (<code>u</code>), the group (<code>g</code>), and all others or <i>the world</i> (<code>o</code>). To know which permissions are associated to files and subdirectories of the current directory, use the following command:
{{Command|ls -la}}
{{Command|ls -la}}


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>" wilcard 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-->
rsnt_translations
53,770

edits

Navigation menu