linux常用命令 roway · 2012-09-11 14:12 · Markdown 如何使用shell查看某个端口是否被占用 方式一:netstat -tln | grep 8080 方式二:lsof -i:8080 用nohup命令让Linux下程序永远在后台执行