LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-23-2004, 12:42 PM   #1
Lumberjack
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
jtshaw
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
Lumberjack
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
Mikhail_16
Member
 
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')
 
  


Reply


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


All times are GMT -5. The time now is 06:34 PM.

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