how to search search & delete line in vi editor

the below command in vi editor will remove the whole line that contains the word “search-keywords” on the entire file. :g/search-keywords/d

installing postgresql 8.2 on Leopard with macports

postgresql! one of my favorite high performance open source db, of course i have it running on my mac. compiling postgresql with macports isn’t that hard, follow the step below will guide you through the installation; first of all, make…

Troubleshoot Firefox - safe mode

Troubleshoot Firefox – safe mode

  Today, visited a website with flash and some how it just trash Firefox. I know this sounds like winbloze but starting Firefox in Safe Mode is a good way to troubleshoot. During the startup of Safe Mode, plungins, toolbars…

lspci on FreeBSD?

By default, Linux come with lspci command to print PCI hardware on the machine. On FreeBSD, you can install pciutils in order to list pci hardware and make some tweaking on PCI IRQ/slots. Installing pciutils on FreeBSD To install pciutils,…