Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-23-2004, 12:42 PM   #1
LQ Newbie
Registered: Jun 2003
Location: Warfield, England
Posts: 10

Rep: Reputation: 0
view partition command?

Is there a command to see which partition you are currently in? Say I wanted to know which partition a users /home directory was on, I could go into it and give the command and it would tell me.

Thanks for any replies.
Old 01-23-2004, 12:46 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
df lists all the filesystems currently mounted and there mount points.
Old 01-23-2004, 12:49 PM   #3
LQ Newbie
Registered: Jun 2003
Location: Warfield, England
Posts: 10

Original Poster
Rep: Reputation: 0
oh nice thats what i wanted, nice one jtshaw!
Old 01-23-2004, 12:50 PM   #4
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
as jtshaw said, irs a combination of 'pwd' and 'df' (or 'mount')


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a command to view all variables? ginda Linux - Newbie 1 09-29-2005 04:16 PM
Command to view all running services joevilton Linux From Scratch 2 08-14-2004 12:55 PM
View NTFS partition? ajbrouwe Slackware 10 07-14-2004 03:14 PM
View image from command line? Rotwang Linux - General 1 03-22-2004 03:51 AM
view linux partition arraman Linux - General 4 10-09-2001 08:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration