SlideServe
Menu
Préférences
© SlideServe · v2026

Using Linux Text Editors

baker-vang avatar
21 diapositives · 439 Views · Nov 07, 2014

Using Linux Text Editors. Use Non-Graphical Linux Text Editors Graphical Text Editor. One of the reasons for this is the fact that the Registry stores data in many different formats. Some values accept regular text strings; other values require data to be entered in binary format.

Using Linux Text Editors - slide 1
01 / 21Using Linux Text Editors
1 / 17

Télécharger la présentation

Using Linux Text Editors
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Using Linux Text Editors

  2. Use Non-Graphical Linux Text Editors • Graphical Text Editor

  3. One of the reasons for this is the fact that the Registry stores data in many different formats. • Some values accept regular text strings; other values require data to be entered in binary format.

  4. Using the vi Editor • vi Modes • ■ Normal mode ■ Insert mode • ■ Command mode ■ Replace mode

  5. Opening Files in vi • Ex: vi vidu1.txt

  6. Working in Insert Mode • Switch to: • S • I • Insert

  7. Command Mode Commands ■ exit Writes the current file and then closes vi. ■ wq Also writes the current file to disk and closes vi. ■ q Closes vi without saving the current file. This can only be used if the file hasn’t been changed. If the file has been changed, then you must enter q!.

  8. Entering Commands in vi Normal Mode ■ dw Deletes the word that comes immediately after the cursor, including the space following the word. The text is saved in a memory buffer. ■ de Deletes the word that comes immediately after the cursor, not including the space. The text is saved in a memory buffer.

  9. Entering Commands in vi Normal Mode.. ■ dd Deletes the entire current line. The text is saved in a memory buffer. ■ p Inserts the text deleted in the last deletion operation after the current cursor location ■ d$ Deletes from the insertion point to the end of the line. The text is saved in a memory buffer.

  10. Entering Commands in vi Normal Mode.. ■ u Undoes the last action. ■ CTRL-G Displays a status line at the bottom of the interface. This displays the name of the file, the total number of lines in the file, and the current cursor location. This is shown in Figure 5-15. ■ /search_term Searches for the next instance of the term specified.

  11. Exercise 5.1Page: 234

  12. Using the Emacs Editor

  13. At the shell: emacs

  14. Using Quick Emacs • Alt W: copy • Ctrl Y: paste • Ctrl W, X: save

  15. Exercise 5.2 • Page: 241

  16. Use Graphical Text Editors It work if: ■ The system is working properly. ■ The system has X Windows, a window manager, and a desktop installed. ■ Your X Window System has been configured properly to work with your hardware.

  17. Graphical Desktop Environments • GNOME • KDE