--查看空间使用情况
df -h
查看当前目录空间占用情况
du -h --max-depth=1
--释放空间
lsof -n / | grep deleted | awk '(print $2]' | xargs kill -9
删除第880条记录
history -d 880
重复上条命令
!!
查看系统日志配置
cat /etc/audisp/plugins.d/syslog.conf
查找系统日志配置
find / -name syslog.conf
centos 常用命令
阅读 36
2023-08-03
--查看空间使用情况
df -h
查看当前目录空间占用情况
du -h --max-depth=1
--释放空间
lsof -n / | grep deleted | awk '(print $2]' | xargs kill -9
删除第880条记录
history -d 880
重复上条命令
!!
查看系统日志配置
cat /etc/audisp/plugins.d/syslog.conf
查找系统日志配置
find / -name syslog.conf
相关推荐
精彩评论(0)