1、重启服务器

ubuntu系统重启apache:/etc/init.d/apache2 restart

linux重启nginx: service nginx restart

   重新加载:service nginx reload

2、查询搜索文件或目录

find path -option filename

find  /  -name test     #根目录下查询test文件或者目录

find  .  -name *.php*  #当前目录下查找.php文件

3、查询端口

查询并显示所有端口:netstat -a

查询固定端口,如果查询后什么都不显示,则说明该端口没有开放。例如查询3306端口:netstat -an|grep 3306

 

相关文章:

  • 2021-07-24
  • 2021-09-05
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-07-18
  • 2021-06-11
猜你喜欢
  • 2021-05-26
  • 2021-12-24
  • 2022-12-23
  • 2021-04-04
  • 2021-08-27
  • 2021-07-23
  • 2021-12-08
相关资源
相似解决方案