linux命令技巧--df -lh:查看磁盘占用情况

本文详细解析了Linux下使用df-lh命令查看磁盘空间的方法,展示了如何读取磁盘使用情况,包括已用空间、可用空间及挂载点等关键信息。

命令:

df -lh

会出现如下的显示:

[root@llj ~]# df -lh
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       8.6G  6.7G  1.5G  82% /
tmpfs           250M   76K  250M   1% /dev/shm
/dev/sda1       291M   33M  244M  12% /boot
/dev/sr0        1.5G  1.5G     0 100% /media/Ubuntu 16.04 LTS i386

Used:已经使用的空间
Avail:可以使用的空间
Mounted on:挂载的目录

转载于:https://www.cnblogs.com/shiguangmanbu2016/p/5932822.html

fatal: unable to access 'https://github.com/07bug/HiSTBLinuxV100R005C00SPC060/': GnuTLS recv error (-110): The TLS connection was non-properly terminated. root@hi3798mv100:~# git clone https://github.com/07bug/HiSTBLinuxV100R005C00SPC060 Cloning into 'HiSTBLinuxV100R005C00SPC060'... remote: Enumerating objects: 31916, done. remote: Counting objects: 100% (963/963), done. remote: Compressing objects: 100% (618/618), done. remote: Total 31916 (delta 457), reused 345 (delta 345), pack-reused 30953 (from 1) Receiving objects: 100% (31916/31916), 811.07 MiB | 3.14 MiB/s, done. Resolving deltas: 100% (13792/13792), done. error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-nm error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-objcopy error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-objdump error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-ranlib error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-readelf error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-size error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-strings error: unable to write file tools/linux/toolchains/aarch64-histbv100-linux/bin/aarch64-gcc51_glibc222-linux-gnu-strip fatal: cannot create directory at 'tools/linux/toolchains/aarch64-histbv100-linux/lib': No space left on device warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'
最新发布
06-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值