14 August, 2007

In order to control integrity of files on my fileserver I've created special script.It walks around filesystem (in the given directory) and calculates checksums for files or checks their.If the file has been changed after last check the warning message will be displayed.

13 August, 2007

"Vim (Vi Improved) is very powerful editor..."It is true, I know, I like it. Vi is the best editor for the Linux/Unix console.

Have you tried to understand Vi?

Most people don't understand Vi, because they don't like console and command line, it is needlessly for theirs.Vi is good for servers, embedded and non-GUI systems;for admins, linux developers and gurus,but not for normal people, at first look.

You may execute vimtutor in your command line in order to understand Vi.Vimtutor is great tutorial.

Editx delete character under cursorde delete to the end of worddw delete to the end of word+spaced$ delete to the end of lined^ delete to the begin of linedd delete a whole line

ce,w,$,^ do the same as delete command, but also switch to edit mode

u undo the last commandU restore line to it's original stateCTRL-R redo the last command

p put the last deletion after the cursoro,O open new empty line below/above the cursor and switch to the edit modea append text after the cursorA append text to the end of a line

Replacer+character replace character under cursor:s/old/new replace old text with new text (once):s/old/new/g replace all old text with new text in the line:s/old/new/gc replace all old text with new text in the line, but ask to confirmation:%s/old/new/g replace all old text with new text in the file:#,#s/old/new/g replace all old text with new text between lines in the range #,#