LinuxQuestions.org
Review your favorite Linux distribution.
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 09-07-2011, 09:07 PM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,295

Rep: Reputation: 222Reputation: 222Reputation: 222
Question Home Partition


hi, is there a way to check which partition the /home /var directory is installed on?
for example:

/dev/sda1 190M 12M 169M 7% /boot
/dev/sda2 15G 165M 14G 2% /www

what is the command to display output above?

Thanks in advance.

Last edited by JJJCR; 09-07-2011 at 09:19 PM.
 
Old 09-07-2011, 09:41 PM   #2
sunnieside-up
Member
 
Registered: Aug 2011
Distribution: Debian
Posts: 68

Rep: Reputation: Disabled
df -h [directory]

or:

du -h [directory] gives the size of a directory
 
Old 09-08-2011, 08:35 PM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,295

Original Poster
Rep: Reputation: 222Reputation: 222Reputation: 222
Thanks
 
  


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
/home partition taking space from / partition rpcutts Linux - Software 3 03-04-2009 05:09 AM
cannot write $(HOME).dmrc file home is on a seperate partition Person_1873 Linux - Newbie 5 12-07-2008 01:41 PM
,dmrc problem after moving /home partition to NTFS partition yeehung Linux - Newbie 1 11-14-2007 06:17 AM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 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