Linux命令常用搜集持续更新

从所有盘查询文件中存在某个单词的

grep   -r   test ./

grep  -rn  "test" /

关闭history记录功能

set +o history;

打开history记录功能

set -o history

磁盘空间

df -h

查看linux定时任务

crontab -l

 查询指定路径下以jsp结尾的带出显示

find /usr/local -name  "*.jsp"   |xargs ls -lt

posted @ 2021-09-27 16:07  向上丶  阅读(25)  评论(0编辑  收藏  举报