Solved

where is my  /home

Posted on 2004-04-14
6
249 Views
Last Modified: 2012-05-04
How can I known /home stay on wich partition I use command fdisk -l  out put is below

Thank



[root@localhost staff]# fdisk -l

Disk /dev/ide/host0/bus1/target0/lun0/disc: 40.0 GB, 40020632064 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot    Start       End    Blocks   Id  S
ystem
/dev/ide/host0/bus1/target0/lun0/part1   *         1       764   6136798+  83  L
inux
/dev/ide/host0/bus1/target0/lun0/part2           765      4865  32941282+   5  E
xtended
/dev/ide/host0/bus1/target0/lun0/part5           765       827    506016   82  L
inux swap
/dev/ide/host0/bus1/target0/lun0/part6           828      4865  32435203+  83  L
inux
[root@localhost staff]#
0
Comment
Question by:teera
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Assisted Solution

by:hal3000
hal3000 earned 30 total points
ID: 10829855
Hi teera,
try the following command

    df .



Good luck
0
 

Author Comment

by:teera
ID: 10829995
Thank  hal3000
what is the difference between df and fdisk -l
0
 
LVL 8

Assisted Solution

by:da99rmd
da99rmd earned 70 total points
ID: 10830871
df - diskfree tool checks how much space file/dirs take
fdisk - hardisk partitioning tool, used to make and maintain partitions.

/Rob
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 8

Assisted Solution

by:da99rmd
da99rmd earned 70 total points
ID: 10830885
Sry change the line
df - diskfree tool checks how much space file/dirs take
to
du - diskusage tool checks how much space file/dirs take( use the -sh to get sums and Gb)
and add the line
df - diskfree tool checks how much space is left on each partition.(use the -h to ge Mb Gb)

/Rob
0
 
LVL 3

Assisted Solution

by:captainmish
captainmish earned 40 total points
ID: 10841560
Hi teera
use " cat /etc/fstab " to find out where home is mounted
you can also get more info on your mounted stuff with mount -l
to go straight to your home directory use " cd ~ "
Hope that helps
0
 
LVL 10

Accepted Solution

by:
Mercantilum earned 60 total points
ID: 10848484
Simply "df -k /home"
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Samba Question 11 138
Upgrade BIOS / EUFI at Scale 4 85
Remove Resilio directory from Netgear ReadyNAS 212 via SSH. 2 88
cmake and message 1 21
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question