Linux script : backslash "\"
backslash "\" : escape next special characters Ex: echo "Path is $PATH" ---> This will show...
標籤「shell」相關文章共 16 篇 — Tony.Wu Blog
backslash "\" : escape next special characters Ex: echo "Path is $PATH" ---> This will show...
2>&1 表示將stderr導向輸出stdout 0: stdin 1: stdout 2: stderr exampe: # /tmp/test.sh > /tmp/test.l...
vi smokeping.sh 將以下的內容貼入 chmod u+x smokeping.sh 執行 ./smokeping.sh #!/bin/bash #note: This script is ...
Nginx - Red Hat Init Script 這支script適用於Redhat, Centos, Fedora #vi /etc/init.d/nginx 內容如下 #!/bin/sh #...
Nginx - PHP/FastCGI Init Script 這支script適用於Redhat, Centos, Fedora #vi /etc/init.d/phpfcgi #!/bin/bas...
NTOP - init script #!/bin/bash # # Init file for the NTOP network monitor # # chkconfig: - 93 83 # #...