Posts

Showing posts from June, 2013

Yum - Info & details (Will try to update)

[root@rhel6 ~]# yum version Loaded plugins: fastestmirror, refresh-packagekit, security Installed: 6/x86_64                                                                                                       1113:dcd18119a8b5e5ccbbe42d2162733fe3d5ac6efb Group-Installed: yum                                   ...
Advanced Vi Cheat Sheet Starting/Ending Status Modes Inserting Text Motion Deleting Text Yanking Changing Text Putting Text Buffers Markers Searching Replacing Text Regular Expressions Counts Ranges Shell Functions Files VI Settings Key Mapping Other Click here for the Basic VI Cheatsheet General Notes: 1. Before doing anything to a document, type the following command followed by a carriage return: :set showmode 2. VI is CaSe SEnsItiVe!!! So make sure Caps Lock is OFF. Starting and Ending VI Starting VI vi filename Edits filename vi -r filename Edits last save version of filename after a crash vi + n filename Edits filename and places curser at line n vi + filename Edits filename and places curser on last line vi +/ string filename Edits filename and places curser on first occurance of string...