1.在文件夹里查找含有某些字符串

find / -type f -name "*.php" |xargs grep "mail"

2.查看端口占用情况

netstat -an|grep 8080

nmap localhost|grep 8080

3.查看端口是否开启

telnet ip port

相关文章:

  • 2021-06-03
  • 2022-01-08
  • 2021-10-06
  • 2021-08-18
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2021-12-23
猜你喜欢
  • 2021-09-22
  • 2022-03-02
  • 2021-12-29
  • 2022-12-23
  • 2021-09-16
  • 2022-02-16
  • 2021-11-10
相关资源
相似解决方案