Skip to content

Instantly share code, notes, and snippets.

@wxingheng
Last active August 12, 2019 01:54
Show Gist options
  • Save wxingheng/1530e3fcbd7ec29c2ba8902d6d0a1dcc to your computer and use it in GitHub Desktop.
Save wxingheng/1530e3fcbd7ec29c2ba8902d6d0a1dcc to your computer and use it in GitHub Desktop.
liinux 常用命令
**给文件最高权限**
sudo chmod -R 777 myResources
查看进程占用
lsof -i tcp:8080
该命令会显示占用8080端口的进程,有其 pid ,可以通过pid关掉该进程
杀死进程
kill pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment