خرید بک لینک

Hello,

List all domains with php2_release set as primary:

Code:

for d in `cat /etc/virtual/domainowners | cut -d: -f1 | sort`; do grep -q ^php1_select=2 /usr/local/directadmin/data/users/*/domains/$d.conf 2>/dev/null && echo $d; done;
List all domains with php1_release set as primary:

Code:

for d in `cat /etc/virtual/domainowners | cut -d: -f1 | sort`; do grep -q ^php1_select=2 /usr/local/directadmin/data/users/*/domains/$d.conf 2>/dev/null || echo $d; done;

برچسب: نویسنده: ایمان اصلاحی تاريخ: پنجشنبه 22 تير 1396 ساعت: 0:11

صفحه بندی