Ever wanted to get the MAC/IP address of your computer in a Linux shell script? The following two commands should work on most flavours of Linux/Unix

Note: It retrieves the address of eth0 interface by default. Make necessary changes as required.

IP:

/sbin/ifconfig | grep ‘\<inet\>’ | sed -n ‘1p’ | tr -s ” ” | cut -d ” ” -f3 | cut -d “:” -f2

MAC (H/W address)

/sbin/ifconfig | grep ‘eth0′ | tr -s ” ” | cut -d ” ” -f5

So begins the battle between the Operating Systems again. And this time a much fierce battle I guess. With Microsoft Windows 7 and Apple’s OS X Snow Leopard 10. 6 already rumbling in the arena, there enters Ubuntu 9.10 codenamed Karmic Koala.

Karmic Koala

Karmic Koala

Ubuntu’s 9.10 promises to be faster and friendly to use (no more scarry text scrolls) and also is introducing newest version of

    Linux kernel – Version 2.6.31
    GNOME – Version 2.28
    Firefox – Version 3.5.3
    Software Center – graphical utility for package management
    GRUB2 as the new default bootloader
    Ext 4 filesystem default

But, the best part of Karmic Koala is Ubuntu One, a new web sync feature that gives you 2 GB of free online disk space and also allows you to syndicate and synchronize contacts, notes and share files between several computers. Yes! I know! I can already see people ruminating from Windows. Wait! There’s still more to come.

You can chat to your friends and your office colleagues through Empathy which integrates: Yahoo, Gmail, MSN, AOL, Jabber and many more. There is F-Spot for you through which you can manage and upload your photos to photo-sharing sites like flickr, facebook, picasa and what not!

Create your presentations, documents with Open Office v 3.0 which is quite compatible with all other available office applications including the most famous Microsoft Office. Access Last.fm, Internet Radio portal directly using Rythmbox.

Cannonical COO Jane Silber quotes “Ubuntu 9.10 gives users more reasons than ever to seriously consider Linux at a time when many are thinking again about their operating system options. We are delivering a platform for users interested in an easy-to-use, great-looking, web-friendly operating system”.

The average boot time is about 26 seconds with the Xorg showing up around 15th second. The eventual goal is to deliver a 10 second startup. Probably, we can find one such thing happening in 10.04. Software Center has an excellent selection of software, revamped audio framework improves sound control across multiple applications and many new and improved features.

At the core of the Ubuntu philosophy is the belief that computing is for everyone and whatever your circumstances.

I’ve spent the last few days fruitfully, searching and comparing the most popular and promising of PHP frameworks. Before I get started, I know the automatic follow up will be PHP bashing, and hailing RoR as the savior of the world. This post isn’t about a rails vs PHP comparison, though I intend to write on that shortly.

Read more

What can be sweeter than a name with Sugar in it? Does it help that its for students, its open source and is fun too? Well then I’m definitely talking about “Sugar On A Stick” – A new initiative that aims to put accessible, fun software on a pen drive that students can carry around:

  • Sugar on a Stick as 1-to-1 computing in an elementary school
  • Sugar on a Stick to empower middle- and high-school students to help test, and learn computing platforms as learning tools
  • Sugar on a Stick for learning conferences to let people try Sugar and collaborate with other conference participants

Its based off Fedora 11, comes as a 380 MB ISO, and is primarily runs off your USB or CD media. The first release, tastily titled “Strawberry was released on 24th of this month. So here is to a great initiative, and I’ll be taking it for a spin this week and get back with my thoughts.

After my post about developing a new jQuery plugin, I’ve managed to shake off my apprehensions, and get it hosted on googlecode. The project is titled jGridTable, and hopefully isn’t already taken. I will dedicate a page to it in this blog, where I can keep track of day to day developments, invite comments and suggestions from people, and more importantly, ask for guidance. And if at all I get it to work, I intend to publish it with the liberal MIT license, so that others can keep improving it. My overall aim for the project is to make it as flexible as possible, without bloating up.

So here is to jGridTable. Lets see how far it goes.

    Stuff
    Everyone
    Calendar
    March 2010
    M T W T F S S
    « Jan    
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
    Rate this blog
    Clickity
    15429
Get Adobe Flash playerPlugin by wpburn.com wordpress themes