SAM

Subdecks (3)

Cards (169)

  • Reasons for Using Text editors in Linux
    • Scripts are written in text editors
    • Many Linux programs use text-based data files for input
    • Many of Linux-operating system services use configuration files that are text-based
  • Common Text-Based Editors Used in Linux
    • emacs
    • nano
    • gedit
    • vi
  • emacs
    • Can be customized and extended with different modes, enabling it to be used like IDE for programming languages such Java or C
    • Has to be installed first
  • nano
    Text editor designed for beginners
  • gedit
    • Comes with the Gnome desktop
    • Only runs in the GUI environment
  • vi
    • Native editor found in all Linux and Unix systems
    • Most Linux distributions do not include real vi; rather, they include an enhanced replacement called vim (short for vi improved)
  • Three (3) Modes of vi Editor
    • command
    • insert
    • replace
  • Starting vi
    1. Creating a new file
    2. To add text, press the "i" key
    3. To exit insert mode and return to command mode, press Esc
    4. To save the change/s you have made, press the :w command
  • Cursor Movement Commands
    • l or Right arrow (One character to the right)
    • h or Left arrow (One character to the left)
    • j or Down arrow (One line down)
    • k or Up arrow (One line up)
    • 0 (To the beginning of the current line)
    • ^ (To the first non-whitespace character on the current line)
    • $ (To the end of the current line)
    • w (To the beginning of the next word or punctuation character)
    • W (To the beginning of the next word, ignoring punctuation characters)
    • Ctrl+f or Page Down (One page down)
    • Ctrl+b or Page Up (One page up)
    • numberG (To line number)
    • G (To the last line of the file)
  • To append text to an existing file
    Use the A command
  • To insert a blank line between two (2) existing lines
    1. Use the o command to insert the line below the current line
    2. Use the O command to insert the line above the current line
  • Text Deletion Commands
    • x (The current character)
    • 3x (The current character and the next two (2) characters)
    • dd (The current line)
    • 5dd (The current line and the next four lines)
    • dW (From the current cursor position to the beginning of the next word)
    • d$ (From the current cursor location to the end of the current line)
    • d0 (From the current cursor location to the beginning of the line)
    • d^ (From the current cursor location to the first non-whitespace character in the line)
    • dG (From the current line to the end of the file)
    • d20G (From the current line to the twentieth line of the file)
  • Text Yanking/Pasting Commands

    • yy (The current line)
    • 5yy (The current line and the next four lines)
    • yW (From the current cursor position to the beginning of the next word)
    • y$ (From the current cursor location to the end of the current line)
    • y0 (From the current cursor location to the beginning of the line)
    • y^ (From the current cursor location to the first non-whitespace character in the line)
    • yG (From the current line to the end of the file)
    • y20G (From the current line to the twentieth line of the file)
  • Productivity Software Enables Users to Work With
    • Word-processed documents
    • Spreadsheets
    • Presentation graphics documents
    • Database relations
    • Graphic images
  • LibreOffice
    The office suite for Linux
  • LibreOffice Writer
    • Has AutoComplete feature, which can suggest commonly-used words and phrases to complete what you have started typing, using the built-in dictionary and by scanning the documents you open
  • LibreOffice Calc
    • Has Advanced DataPilot technology that makes it easy to pull in raw data from corporate databases, and then cross-tabulate, summarize, and convert it into meaningful information
    • Real-time data streams can now be integrated in sheets and reports, and factored in calculations
  • LibreOffice Impress
    • Has the Fontworks tool that lets you create attractive 2D and 3D images from text
    • Supports multiple monitors
    • Bundled Presenter Console extensions allows you more control over your slide show, such as the ability to see the upcoming slide, view slide notes, and control the presentation timer while the audience is looking at the current slide
  • LibreOffice Draw
    • Excellent package for producing technical drawings, brochures, posters, and many other documents
    • Lets you manipulate graphical objects, group them, crop them, use objects in 3D, and much more
  • Databases Supported by LibreOffice Base
    • MySQL/MariaDB
    • Adabas D
    • MS Access
    • PostgreSQL
  • LibreOffice Math
    Enables you to insert perfectly formatted mathematical and scientific formulas in your text documents, spreadsheets, presentations, and drawings
  • GIMP
    • Customizable Interface
    • Photo Enhancement
    • Digital Retouching
    • Hardware Support
  • GIMP is the recommended image editor for the Linux platform