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

本文介绍了 Linux 中使用 df-lh 命令来查看文件系统的磁盘使用情况,包括已用空间、可用空间及挂载点等关键信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

命令:

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:挂载的目录

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值