Ver Fonte

更新 '_posts/Linux.md'

修改代码
aaronwei há 5 anos atrás
pai
commit
cdca60733c
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      _posts/Linux.md

+ 3 - 3
_posts/Linux.md

@@ -3,19 +3,19 @@ title: linux 常用命令
 ---
 ### 编译
 Mac 下编译 Linux 和 Windows 64位可执行程序
-```Bash
+``` bash
 $ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go
 $ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
 ```
 Linux 下编译 Mac 和 Windows 64位可执行程序
-```Bash
+``` bash
 $ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build main.go
 $ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go
 ```
 
 ### 运行
 
-```Bash
+``` bash
 $ nohup go run aaronwei.go > /opt/logs/log/bufOverflow.log 2>&1 &
 $ nohup go run main.go > /opt/logs/log/rebot.log 2>&1 &
 $ nohup go run setting.go > /opt/logs/setting.log 2>&1 &