Paul’s Linux Blog

Just Another Uber-Geek

Browsing Posts published in November, 2009

I know it's been a while, I have not found much to write about and have been busy at work, sounds like a lame excuses and you're probably right, howeverI have just found a new command I have never heard of before and needed to share it. I am not sure how I have missed this one in my circles, but at last we have been connected.

There have been countless times where I have needed to know the UID of disks or the file type, device name etc and spend my time typing in long commnads and looking through /dev/disk/by-xxx then I read I only needed to type one magic command and all my little one liners are no longer required.

What is the magic command well, it's a simple as:

# blkid

output:

[root@unix ~]# blkid
/dev/hda1: LABEL="/boot" UUID="662aaf16-9ec7-44e3-9161-43a0813559bb" SEC_TYPE="ext3" TYPE="ext2"
/dev/hda2: LABEL="/" UUID="0d9be1c1-3daf-4736-8224-deaea3601f1d" SEC_TYPE="ext3" TYPE="ext2"
/dev/hda3: LABEL="/extra" UUID="d63697eb-4a6e-41d0-b0ca-83a199296430" SEC_TYPE="ext3" TYPE="ext2"
/dev/hda4: UUID="7dfe75fc-9939-4210-b873-a85099703c3b" SEC_TYPE="ext3" TYPE="ext2"
/dev/hda5: LABEL="/shared" UUID="4c626dda-4614-48c2-b98c-0e74bed81ec8" SEC_TYPE="ext3" TYPE="ext2"

Thought I'd share so someone else may have there life enlightened by this knowledge. :)

One little niggle I have is my sound is always muted, in someways this is good but I wish it was not always the case, well it's not anymore here's the fix.

Simple fix:

As root not sudo as it did not work that way.

run:

/sbin/alsactl store

I am still here.

No comments

WOW, I can't believe I could not think of anything to post for so long, I have been so busy at work I neglected my blog.

Well I wish I had something of great importance to tell you but I do not, unless you count the fact that the White House website now runs on Drupal? I met the Drupal guys once at a linux exhibit, nice guys good software wish I had time to play with software like that, but unless I get rich I will not have the time to learn it, I will say though I use joomla for a while and that was good, but it has not got the stamp of approval from the president.

Powered by WordPress Web Design by SRS Solutions © 2010 Paul’s Linux Blog Design by SRS Solutions