b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

New Linux User

HOW TO: Find Out What Partition I Am On

by Jon on May 30th, 2006

I’ve been reading up on the df command. The df command shows free disk space and I’ve covered it before. It has one function that I didn’t know about, however, and that’s the ability to show you which disk and partition you are on at any given time.

The command

df . (see the dot?)

will return the current device/partition. For example, if I type df. in my home direction, it returns

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 85864764 2733992 83130772 4% /home

Perhaps not so useful on your own system on which you hopefully know how it is set up, but useful when you’re mucking around on an unfamiliar system.

POSTED IN: How To

0 opinions for HOW TO: Find Out What Partition I Am On

  • No one has left a comment yet. You know what this means, right? You could be first!

Have an opinion? Leave a comment:




Check Spelling
Activate Spell Check while Typing