When we need to manipulate the disks under control of Linux, it is more difficult to get the basic information of them, such as which file point is corresponding which partition among those disks and which directory in which partition or disk. This situation is more common if we are working in a network environment namely some Network File Systems are involved.
Here is some handful Linux Commands which are helpful if you were undergoing this terrible situation.
1. fdisk -l
used to list the several partitions in the disks of the system
2. parted /dev/sda print
This is the same as fdisk. It just concentrate on a specific disk.
3. df -h
used to report file system disk space usage
No comments:
Post a Comment