`
yaojingguo
  • 浏览: 206644 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Usage of Linux df command

阅读更多
Show disk space in Megabyte:
df -B m

Show disk space in Gigabyte:
df -B G

Show disk space in human readable format:
df -h

Show file system type:
df -T
0
3
分享到:
评论

相关推荐

    Beginning.The.Linux.Command.Line.2009

    根据提供的信息,我们可以总结并扩展出关于《Beginning the Linux Command Line》这本书的相关知识点。此书由Sander van Vugt撰写,出版于2009年,是一本介绍Linux命令行基础操作的书籍。 ### 一、Linux命令行简介 ...

    Linux_command

    `du`(disk usage)命令用于计算目录或文件的磁盘使用空间: 1. **查看当前目录的总大小**:`du -sh`显示当前目录及其子目录的总大小。 2. **计算目录及其子目录的详细大小**:`du -ch`提供每个子目录的大小及总计...

    shell cheat sheet

    This cheat sheet provides a comprehensive overview of essential shell commands, constructs, and utilities commonly used in UNIX/Linux environments. It is designed to serve as a quick reference guide ...

    Linux System Administrator Guide Version0.9

    - **Filesystem Usage**: Commands like `df` and `du` for checking disk usage and managing quotas. - **Monitoring Users**: Tools like `who`, `ps`, `w`, and `kill` for monitoring and managing user ...

    Wiley.Publishing.Fedora.Linux.Toolbox.1000+.Commands.for.Fedora.CentOS.and.Red.Hat.Power.Users.and.Red.Hat.Power.Users.2008.pdf

    - **Disk Utilization**: Monitoring and optimizing disk usage using `df`, `du`, and `ncdu`. #### Chapter 8: Backups and Removable Media Data backup and recovery are critical in any computing ...

    Linux术语全称文本下载

    18. **Tcl (Tool Command Language)**:一种脚本语言,主要用于快速开发图形用户界面和网络应用。 19. **Tk (Tool Kit)**:Tcl的图形用户界面工具包。 20. **VT (Video Terminal)**:视频终端或控制台的缩写。 21. *...

    go读取Linux下cpu占用率、cpu温度、内存占用率及磁盘占用率

    以下是一个使用`exec.Command`执行`df`命令的例子: ```go import ( "bytes" "fmt" "log" "os/exec" "regexp" "strconv" ) func getDiskUsage(path string) (float64, error) { cmd := exec.Command(...

    linux 命令英文全称

    Tcl(Tool Command Language)是一种脚本语言,常用于快速原型开发和GUI应用程序开发。 #### Tk=ToolKit Tk是一个与Tcl紧密结合的图形用户界面工具包(Graphical User Interface Toolkit)。 #### VT=VideoTerminal VT...

    Linux命令简写和全称

    - **全称**: Disk usage - **用途**: 估算每个文件或目录的磁盘使用量。 - **语法**: `du [选项] 目录...` - `-a`:显示所有文件或子目录的磁盘使用量。 - `-h`:以人类可读的格式显示结果。 #### chown - ...

    Linux下的rar解压缩工具

    Usage: rar <command> -<switch 1> -<switch N> <archive> <@listfiles...> a Add files to archive c Add archive comment ch Change archive parameters cw Write archive comment to file d Delete ...

    Linux命令的英文缩写

    - `man command_name`:查看command_name命令的手册页。 ##### 16. **mkfs (Makefilesystem)** - **命令用途**:创建文件系统。 - **英文全称**:Make File System - **常见用法**: - `mkfs.ext4 /dev/sda1`...

    Linux中英文命令对应

    4. `df` - Disk free:查看磁盘空间的使用情况,包括总空间、已用空间和剩余空间。 5. `du` - Disk usage:用于统计目录或文件所占用的磁盘空间。 6. `chown` - Change owner:改变文件或目录的所有者,用于权限...

    linux入门基础知识

    - `sed [options] command [file ...]` - `-e script`:执行由 `script` 定义的一系列命令。 - `-n`:仅打印由命令明确指定的行。 - **示例**: - `sed -i 's/helo/hello/g' *.txt`:将所有 `.txt` 文件中的 `...

    Linux命令术语全称

    9. **Tcl=Tool Command Language** - **含义**:一种轻量级的脚本语言。 - **用途**:快速开发GUI应用程序。 10. **Tk=Tool Kit** - **含义**:图形用户界面工具包。 - **用途**:构建跨平台的GUI应用。 11. *...

    2009 达内Unix学习笔记

    DOS内部命令 用于退出当前的命令处理器(COMMAND.COM) 恢复前一个命令处理器。 Ctrl+d 跟exit一样效果,表中止本次操作。 logout 当csh时可用来退出,其他shell不可用。 clear 清屏,清除(之前的内容并未删除,只是...

    linux命令英文全称(帮助记忆,让命令变的很简单).pdf

    19. `Tcl`:Tool Command Language - 脚本语言。 20. `Tk`:ToolKit - 与Tcl配套的图形用户界面库。 21. `VT`:Video Terminal - 视频终端。 22. `YaST`:Yet Another Setup Tool - 开源操作系统SUSE的系统配置工具...

    MobaXterm Pro 11.0.3816

    Bugfix: fixed detection of disk space in remote monitoring when “df” returns results splitted across multiple lines Bugfix: when hitting “R” to reconnect a SSH session, if the gateway had been ...

    zabbix基础进阶1

    这里,`key`是你定义的名称,`command`是执行的Linux命令。 - **参数传递**:Key还可以接受参数,如`UserParameter=key[*],command $1 $2 $3 …`,其中`$1, $2, ...`代表传入的参数。 - **特殊字符处理**:如果Key...

    shell输出

    disk_usage=$(df / | tail -1 | awk '{print $5}' | cut -d'%' -f1) if [ $disk_usage -ge 80 ]; then echo "警告:根分区的磁盘空间使用率超过80%!" | mail -s "磁盘警告" user@example.com fi ``` 在这个例子中...

    Python2.x利用commands模块执行Linux shell命令

    ### Python2.x 使用 `commands` 模块执行 Linux Shell 命令 在 Python2.x 版本中,`commands` 模块提供了一系列的方法来执行 Linux shell 命令并处理其输出结果。这对于编写自动化脚本或进行系统监控等任务非常有用...

Global site tag (gtag.js) - Google Analytics