2017-05-31 34 views

回答

0

你可以试试这样:

ps --ppid $(pgrep gnome-terminal) | grep -c bash