Sunday, May 5, 2013

How to Find Windows Version/Build Number



Each release of Microsoft Windows has specific build number assigned while compiling the code for Windows. This build number is changed every time when there is major modification in code, new enhancement, bug fixes. Many users are curious to know how to find version number of windows
If you are one of them then here is a tutorial for you on how to find Build/Version number of windows.

How to find Windows Version & Build Number

1. Press Win+R to get run command prompt
Windows Version Number Winver
2. Now type “winver” at run command and press enter.
3. A windows dialog box will open providing information on Windows version Number, Build Number and name of windows.
Windows 7 Version


Monday, March 25, 2013

Removing blank lines

Vi ---> Removing blank lines
Blank lines can be removed from a file with any of the following:

    :v/./d
or

    :g/^$/d
or

    :%!cat -s
If you want to get rid of duplicate blank lines, but leave the first blank line intact, try:

    :%!sed /./,/^$/!d
Be aware that you may need to get rid of trailing whitespace first. This can be accomplished with

    :%s/[ ^I]*$/