/** 鼠标样式 **/

linux基础

1.netstat

netstat -anp |grep 22
查找22端口

2.find

image
find / -name "test"
find / -size +10M 或-1G,100k(MB,GB,KB)

3.chmod

1执行,2写入,4读取 xwr权限
image
chmod 777 1.txt 使所有用户拥有1.txt的全部权限

4.主机状态监控top

image

image

5.磁盘监控df

df -h显示单位

快捷键

CTRL+z强制退出
history看历史指令
ctrl+a 光标跳到指令开头,ctrl+e光标跳到指令结尾,ctrl+左右,跳一个单词

.进程

image
一般配合管道符查找进程,更加方便

posted @ 2024-04-18 09:33  aliex23k65  阅读(8)  评论(0)    收藏  举报