If you need to comment out lines of text inside VIM, you can try this trick:
(Enter command mode in VIM)
This will insert the # character at the beginning of each line starting from line number 40 to line number 105.
If you cannot see the line numbers, do this:
(Enter command mode in VIM)
To remove the lines:
This is quite handy if you need to comment out lines of codes in a script.
Please, everyone settle down. I am not starting a flame thread here but I would like you to read these ten reasons why Linux will stomp over Windows’s head. TechRepublic writes:
I have an announcement. The error of Microsoft’s ways is finally catching up and will cause the once-invincible juggernaut to kneel before that which is Linux. How is this? Microsoft started a tiny snowball when it released Windows Me. That snowball did nothing but gain momentum. There have been ups and downs along the way (XP being an up, for sure). But for the most part, the court of public opinion has steady lost faith in what once was considered the heart of personal computing.
If you don’t believe me, read on.
1. Inconsistent Windows releases
One of the things you can always count on from Microsoft is that you can’t count on its new operating systems to be reliable. Let’s take a look at the individual releases:
* Windows 95: Revolutionized personal computing.
* Windows 98: Attempted to improve on Windows 95; failed miserably.
* Windows Me: A joke, plain and simple.
* Windows NT: Attempted to bring enterprise-level seriousness to the operating system; would have succeeded had it not taken Steven Hawking-like intelligence to get it working.
* Windows XP: Brought life back to the failing Windows operating system. It hadn’t been since Windows 95 that the operating system was this simple.
* Windows Vista: See Windows Me.
With this in mind, what do we expect from Windows 7? Myself, not much.
2. Consistent Linux releases
Converse to number 1, you have the far more consistent releases of the various Linux distributions. Yes, there have been a few dips along the way (Fedora 9 being one of them). But for the most part, the climb for Linux has been steadily upward. Nearly every Linux distribution has improved with age. And this improvement isn’t limited to the kernel. Look at how desktops, end-user software, servers, security, admin tools, etc., have all improved over time. Once could easily argue that KDE 4 is an example of a sharp decrease in improvement. However, if you look at how quickly KDE 4 has improved from 4.0 to 4.3 you can see nothing but gains. This holds true with applications and systems across the board with Linux.
Subscribe to Email Feeds
- Vim: How to Copy Multiple Lines
- Required Packages for Oracle 11gR2 on Red Hat Enterprise Linux 6
- How Replace Space with Newline in Vim
- Uniknya Suasana Kantor Google Di Zurich Swiss - Komike.net on Google Fun Facts
- The Best Place to Work: Google and their Office in Zurich | ISmartNetwork on Google Fun Facts
- Robinson Cebu Pacific Credit Card | Your Finances on Cebu Pacific Sucks
- 12 Little Things That You As An Ateneo Hearter Can Do To Help Your Country | Yoo Jin and Akeem's Blog on Bayanihan Linux: True Blue Pinoy Linux
- [RESOLVED]Can you do this in aspx page | ASP Questions & Answers on Tip: How to Decode CSR