Microsoft PowerShell Released

Microsoft loves Linux. And Open Source. That wasn’t always the case back then.¬†From Ars Technica:

Microsoft today released its PowerShell scripting language and command-line shell as open source. The project joins .NET and the Chakra JavaScript engine as an MIT-licensed open source project hosted on GitHub. Alpha version prebuilt packages of the open source version are available for CentOS, Ubuntu, and OS X, in addition, of course, to Windows. Additional platforms are promised in the future.

Change Default Terminal Size in Ubuntu

Every time I open a new Terminal in Ubuntu, the first order of business for me is to increase the screen size to 132×24. The default Ubuntu setting is 80×24. It’s just too narrow for me. I would like to be able to see the entire command in a single line without it wrapping down to the next line. I always end up increasing the Terminal size to 132×24 almost every time.

There has to be a way to make 132×24 the default size. So, here it is. To make 132×24 the default size for Terminal, you need to perform the following.

You need to edit the termcap file found at:

sudo gedit /usr/share/vte/termcap/xterm

Look for this entry:

:co#80:it#8:li#24:\

and replace it with:

:co#132:it#8:li#24:\

Save. Changes will not take effect until you start a new Terminal session.