Streams of thought by...

This is the (tumble) log by Innerfusion, I'll post various things about code, design, politics, or whatever is interesting at the moment.

9/1/2010
5:05pm
Go back home
Comments (View)

Add this to your Ubuntu .bashrc

Add this to your Ubuntu .bashrc If you’re like me and you work with different versions of ubuntu servers, it helps to know which version you are working on. I just always forget where ubuntu puts it’s version info, here’s a quick way to remember easily:

  # add this to your ~/.bashrc
  alias ubuntu-release='cat /etc/lsb-release'

So next time you login, simply run ubuntu-release and you’ll get something similar to:

  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=9.04
  DISTRIB_CODENAME=jaunty
  DISTRIB_DESCRIPTION="Ubuntu 9.04"

Posted in: ubuntu bashrc

Notes

  1. innerfusion posted this