Archive for April, 2008
Useful vi command – quick guide
Useful vi Commands
Cut/Paste Commands:
| x | delete one character (destructive backspace) |
| dw | delete the current word (Note: ndw deletes n numbered words) |
| dd | delete the current line (Note: ndd deletes n numbered lines) |
| D | delete all content to the right of the cursor |
| d$ | same as above |
| :u | undo last command |
| p,P | paste line starting one line below/above current cursor location |
| J | combine the contents of two lines |
| "[a-z]nyy | yank next n lines into named buffer [a-z] |
| "[a-z]p/P | place the contents of selected buffer below/above the current line |
Read the rest of this entry »
Reset root password on linux red hat vmware
I forgot my root password on my linux vmware. Here are the steps that I do in order to reset it.
- Press any key to go to the menu :
Read the rest of this entry »
