diff --git a/shell/code/ng_ln.sh b/shell/code/ng_ln.sh new file mode 100644 index 0000000..cbda5b5 --- /dev/null +++ b/shell/code/ng_ln.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +for file in /etc/nginx/sites-available/*;do + base=$(basename "$file") + ln -s "$file" "/etc/nginx/sites-enabled" +done