Linux中查看各文件夹大小命令:du -h --max-depth=1
在 Linux 系统中,`du` 命令用于估算文件和目录的磁盘使用情况。结合选项 `-h` 和 `--max-depth=1`,可以方便地查看当前目录下各子目录的大小,并以人类可读的方式显示(如 KB、MB、GB)。
2025-05-02 23:27
241 
Linux管理员面试题 Linux面试题
Linux管理员面试题 Linux面试题1. Advantages/disadvantages of script vs compiled program.2. Name a replacement for PHP/
2021-12-07 14:22
234 
How to install Apache, PHP 7.3 and MySQL on CentOS 7.6
This tutorial shows how to install an Apache web server on CentOS 7 server with PHP (mod_php) and MySQL data
2023-05-18 15:03
229 
centos 每天12:00自动重启elasticsearch服务
将下面的脚本保存为elasticsearch_restart.sh,保存在/opt/script/目录下 ``` #!/bin/bash # elasticsearch restart # 2020-06-02
2023-06-22 09:18
228 
linux 压缩文件的命令总结
linux 压缩文件的命令总结 Linux压缩文件的读取 · *.Z compress 程序压缩的档案; · *.bz2 bzip2 程序压缩的档案; ·
2021-12-07 14:10
226 
curl 命令详解,Linux中访问url地址
令行浏览器 curl 命令详解,Linux中访问url地址 CURL --- 命令行浏览器 这东西现在已经是苹果机上内置的命令行工具之一了,可见其魅力之一斑 1) 二话不说,先从这里开始吧! c
2021-12-07 14:24
224 
linux 查看文件系统类型
linux 查看文件系统类型Linux 查看文件系统的方式有多种,列举如下:1. mount:~$mount /dev/sda1on/typeext4(rw,errors=remount-ro,user_xattr)
2021-12-07 14:26
224 
Centos中压缩(zip)和解压(unzip)命令
linux zip 命令详解功能说明:压缩文件。语 法:zip [-AcdDfFghjJKlLmoqrSTuvVwXyz$][-b ][-ll][-n ][-t ][-][压缩文件][文件...][-i ][-x ]
2021-12-07 14:24
223 
T:0.063626s,M:302.49 KB
返回顶部 留言