常问命令

tail -f (-f)是什么意思?  滚动,循环的意思

如何查看python进程: ps -ef | grep python   (查看到他的PID进程号,然后杀死他)

如何杀掉这个进程: kill PID

如何启动这个进程:

查看服务器的权限:ll

赋予他权限:chmod

端口被占用,你怎么办? netstat -p      

解压:tar -zxvf

 
linux熟悉不 都会用到什么命令 查内存的命令是什么 查端口的命令 查资源的命令
Linux:
 
查看端口被占用:netstat ­anp | grep 8080
netstat ­anp | grep 80
 
查进程 ps ­ef|grep tomcat
ps ­ef|grep mysqld mysql
ps ­ef|grep httpd apache
 
杀死进程:kill ­9 进程1D
 
查询资源:top vmstat free
 
windows:
查看端口被占用:netstat ­ano |findstr 8080
杀死进程:taskkill /F /PID 进程ID
原文地址:https://www.cnblogs.com/xiaomengceshi/p/13709434.html