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
Solved

where is my  /home

Posted on 2004-04-14
6
234 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
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
is my large folder zipped corrupted 4 77
Penetration Testing home based work 3 91
AWS Central Authentication 1 87
Linux MD5 Hash 7 38
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

856 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