str[bits]

July 21, 2005

F1 live video streaming

Filed under: F1

Finally, I’ll now be able to watch Live F1 races.

I wish a better Ferrari performance.

How to search and replace in vi?

Filed under: Linux

I got a friend here in work asked me “How to search and replace in vi”?

To search:

/ STRING
(Above should be known almost to all Linux/Unix users :) )

To replace:

First occurrence on current line: :s/OLD/NEW

Globally (all) on current line: :s/OLD/NEW/g

Between two lines #,#: :#,#s/OLD/NEW/g

Every occurrence in file: :%s/OLD/NEW/g






















Get free blog up and running in minutes with Blogsome | Theme designs available here