Please enable JavaScript.
Coggle requires JavaScript to display documents.
Linux 指令 (crontab ((【*】:星號,代表任何時刻都接受的意思, 【,】:逗號,代表分隔時段。例如:30 9,17 *…
Linux 指令
crontab
-
【,】:逗號,代表分隔時段。例如:30 9,17 * command,代表早上 9 點半和下午五點半都執行 command。
-
-
-
-
【@yearly】 :一年執行一次,和 0 0 1 1 * command 效果一樣。
-
-
【@weekly】:一個星期執行一次,和 0 0 0 command 效果一樣。
【@daily】:每天執行,和 0 0 * command 效果一樣。
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
看 linux 內核版本
cat /proc/version
uname -a
uname -r
看 linux 內核版本
cat /etc/issue
cat /etc/lsb-release
lsb_release -a
-
-
-
-
-
-
-
-
檢查server port
nc -v 18.139.171.186 22
echo -ne "GET / HTTP/1.0\r\n\r\n" | nc -v www.google.com 80
啟動回傳固定檔案的監聽
while true; do sudo nc -l 8080 < jsconfig.json; done
掃範圍port
nc -vnz -w 1 3.0.191.136 14000-14010
-
-
-