linux shell c


root     11347 11346  0 09:18 ?        00:00:00 /bin/sh -c /usr/local/php/bin/php -f /data/xnstat/client_new_user_stat/global_daily_user_only_web.php > /dev/null 2>&1
root     11348 11347 16 09:18 ?        00:08:11 /usr/local/php/bin/php -f /data/xnstat/client_new_user_stat/global_daily_user_only_web.php


-c string  If the -c option is present, then commands are read from  string.   If  there  are  arguments  after  the string, they are assigned to the positional parameters, starting with $0.

see more parameters use:
bash -c "help set"

猜你喜欢

转载自wangqiaowqo.iteye.com/blog/1700741