This website requires JavaScript.
Explore
Help
Register
Sign In
fengyuhetao
/
shell
mirror of
https://github.com/fengyuhetao/shell.git
Watch
1
Star
0
Fork
You've already forked shell
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
be5be0a5be
shell
/
shell脚本编程进阶
/
查看磁盘使用百分比.sh
5 lines
99 B
Bash
Raw
Blame
History
#!/bin/bash
#查看磁盘实用百分比
df -h /dev/sda1
|
sed -n
'/% \//p'
|
gawk
'{ print $5 }'
Reference in New Issue
View Git Blame
Copy Permalink