摘要: netstat -tunlp |grep 8080 [bim@ifc ~]# [bim@ifc ~]# netstat -tunlp |grep 8080 tcp6 0 0 :::8080 :::* LISTEN 8184/java [bim@ifc ~]# [bim@ifc ~]# [bim@if 阅读全文
posted @ 2021-12-12 19:27 西北逍遥 阅读(54) 评论(2) 推荐(0)
摘要: java判断linux还是windows System.getProperty("os.name").toLowerCase().contains("linux"); System.getProperty("os.name").toLowerCase().contains("windows"); # 阅读全文
posted @ 2021-12-12 18:14 西北逍遥 阅读(312) 评论(0) 推荐(0)