Paul’s Linux Blog

Just Another Uber-Geek

Browsing Posts in Command of the Week

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. :)

This week I decided to learn about irc?

I knew this was known as Internet relay chat and has been around a long time. I've met people who raved about it but I never found the use as I always used web forums of posed a question, but what about real time help? Queue IRSSI

I used irssi as it was pre-installed on my crunchbang, it's a terminal application, I personal like the command line so I fired it up.

First thing I saw was a command prompt? I quick Google brought up lots of information on irc and irssi. I soon realised I needed to type "/connect irc.freenode.net" this logged me into a server, ok straight forward.
Next to connect to a irc channel, I knew there was one for crunchbang so typed "/join #crunchbang" and volia I was engaged in a chat about subject matter I knew about. I learned to use /quit or /wc to exit and even tried running multiple sessions to servers.

All in all I like it, and that's why it is my topic of the week, why not give it a go yourself, there's lot's of like minded people out there who don't bite, not much anyway. :)

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