Home > Web > Google Reader (5)

Google Reader (5)

30. April 2010

$ vi +/pattern [file]

Open up vi or vim at the first instance of a pattern in [file]. Useful if you know where you want to be, like "PermitRootLogin" in sshd_config. Also, vi +10 [file] will open up a file at line 10. VERY useful when you get "error at line 10" type of output.

viaGoogle Reader (5).

KategorienWeb Tags:
Kommentare sind geschlossen