Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
elearning:workbooks:redhat:rh124en:l102 [2024/11/05 15:20] adminelearning:workbooks:redhat:rh124en:l102 [2024/11/25 13:04] (Version actuelle) admin
Ligne 7: Ligne 7:
 ======RH12403 - Help and Documentation====== ======RH12403 - Help and Documentation======
  
-=====Module content=====+=====Contents=====
  
   * **RH12403 - Help and Documentation**   * **RH12403 - Help and Documentation**
-    * Module contents+    * Contents
     * LAB #1 - Help with Commands     * LAB #1 - Help with Commands
-      * 1.1 - External Shell Commands Help +      * 1.1 - Help on External Commands 
-      * 1.2 - Help on Internal Shell Commands+      * 1.2 - Help on Built-In Commands
     * LAB #2 - The man command     * LAB #2 - The man command
       * 2.1 - The mandb and whatis commands       * 2.1 - The mandb and whatis commands
Ligne 21: Ligne 21:
 =====LAB #1 - Help with Commands===== =====LAB #1 - Help with Commands=====
  
-====1.1 - Help with External Shell Commands====+====1.1 - Help on External Commands====
  
 External shell commands are executable binaries or scripts, usually located in /bin, /sbin, /usr/bin or /usr/sbin : External shell commands are executable binaries or scripts, usually located in /bin, /sbin, /usr/bin or /usr/sbin :
Ligne 70: Ligne 70:
 </code> </code>
  
-====1.2 - Help with Internal Shell Commands====+====1.2 - Help on Built-In Commands====
  
-Internal shell commands are commands such as **type**, **cd** or **umask**. To check the type of command, use the **type** command:+Built-In or internal shell commands are commands such as **type**, **cd** or **umask**. To check the type of command, use the **type** command:
  
 <code> <code>
Ligne 79: Ligne 79:
 </code> </code>
  
-The shell has the **help** command. Used alone, this command provides the list of internal commands:+The shell has the **help** command. Used alone, this command provides the list of built-in commands:
  
 <code> <code>
Ligne 247: Ligne 247:
  
 ^ Key ^ Function ^ ^ Key ^ Function ^
-| <key>Space Bar</key>Scroll a complete page +| <key>Space Bar</key>Move forward one screen 
-| <key>Enter</key>Scroll page line by line | +| <key>Enter</key>Move down one line | 
-| <key>Up</key>Scroll up one line | +| <key>Up</key>Move up one line | 
-| <key>Down</key>Scroll down one line | +| <key>Down</key>Move down one line | 
-| <key>Page Up</key>Scroll up half a page +| <key>PageUp</key>Move up (backwards) one half screen 
-| <key>Page Down</key>Scroll down half a page +| <key>PageDown</key>Move down (forward) one half screen 
-| <key>Begin</key>Position at beginning of manual | +| <key>Home</key>Move to the beginning of the manual | 
-| <key>End</key>Position yourself at the end of the manual | +| <key>End</key>Move to the end of the manual | 
-| <key/</key> | Search for the string after the <key>/</key> key. The <key>'n'</key> key searches for the next occurrence. The <key>N</key> key searches for the previous occurrence | +| <key>/</key> | Search for the string that follows the <key>/</key> key. The <key>n</key> lowercase key then searches for the next occurrence whilst the <key>N</key> uppercase key searches for the previous occurrence | 
-| <key>Q</key>Exit the manual |+| <key>q</key>Quit the manual |
  
 A complete manual is made up of several sections: A complete manual is made up of several sections:
  
 ^ Section ^ Contents ^ ^ Section ^ Contents ^
-| 1 | Executable instructions or shell commands | +| 1 | Executable programs or shell commands | 
-| 2 | System calls | +| 2 | System calls (functions provided by the kernel) 
-| 3 | Library calls | +| 3 | Library calls (functions within program libraries) 
-| 4 | Special files | +| 4 | Special files (usually found in /dev) 
-| 5 | File format +| 5 | File formats and conventions eg /etc/passwd 
-| 6 | Games, screensavers, gadgets +| 6 | Games and Gadgets 
-| 7 | Miscellaneous and non-standard commands +| 7 | Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7) 
-| 8 | Linux system administration commands | +| 8 | System administration commands (usually only for root) 
-| 9 | Kernel subroutines |+| 9 | Kernel routines [Non standard] |
  
 The various available sections can be viewed using the **whereis** command: The various available sections can be viewed using the **whereis** command:
Ligne 347: Ligne 347:
 Each manual page contains a brief description. These descriptions and the name of the manual are stored in the **whatis** database. Each manual page contains a brief description. These descriptions and the name of the manual are stored in the **whatis** database.
  
-This database can be maintained manually by root by invoking the **/usr/bin/mandb** executable.  +This database can be maintained manually by root by invoking the **/usr/bin/mandb** executable:
- +
-Using **mandb** is very simple:+
  
 <code> <code>
Ligne 413: Ligne 411:
 </code> </code>
  
-The **whatis** command can now be used to identify the manual sections available for a given order+The **whatis** command can now be used to identify the manual sections available for a given command
  
 <code> <code>
Ligne 451: Ligne 449:
 </WRAP> </WRAP>
  
-=====LAB #3 - The infoCommande =====+=====LAB #3 - The info Command =====
  
 In addition to the manual system, information about executables can be found in the **info** system. Detailed information, examples and tutorials may be missing from the manual system. For this reason, the **info** system was created.  In addition to the manual system, information about executables can be found in the **info** system. Detailed information, examples and tutorials may be missing from the manual system. For this reason, the **info** system was created. 
Ligne 459: Ligne 457:
 To facilitate navigation, each page contains a header that includes information on the current node, the parent node, the previous node and the next node. To navigate between nodes, use the following keys:   To facilitate navigation, each page contains a header that includes information on the current node, the parent node, the previous node and the next node. To navigate between nodes, use the following keys:  
  
-Touch ^ Function ^+Key ^ Function ^
 | n | Next node. | | n | Next node. |
 | p | Previous node. | | p | Previous node. |
 | u | Parent node. | | u | Parent node. |
-| <key>Space</key> | Scroll down page. | +| <key>space</key> | Scroll down one page at a time.| 
-| <key>Suppr</key> | Scroll one page up. | +| <key>Del</key> | Scroll up one page at a time. | 
-| Return to the beginning of the current node. +| b | Return to the beginning of the current node. | 
-| <key>Tab</key> | Select next hyperlink. | +| <key>Tab</key> | Select next hypertext link. | 
-| m <link>Go to specified sub-node. Pressing [Tabdisplays a list of all subnodes. | +| m <link text> | Performs a direct jump to the specified subnode. Pressing Tab displays all available subnodes. | 
-| <key>Enter</key> | Follow current hyperlinkA hyperlink begins with an asterisk and ends with the character **:**. | +| <key>Enter</key> | Follow current hypertext linkHypertext links are designated by an asterisk ***** at the beginning of the link, and a colon **:** at the end of the link. | 
-Exit the **info** system. |+q | Quit the info system. |
  
 To access the first node, use the following command: To access the first node, use the following command:
Menu