shell问题请教a`ps -ef [解决办法]grep db2sysc [解决办法] grep -v grep [解决办法]awk {print $1}[解
shell问题请教
a=`ps -ef
[解决办法]
grep db2sysc
[解决办法]
grep -v grep
[解决办法]
awk '{print $1}'
[解决办法]
sed -n '1p'`;b=`cat /etc/passwd
[解决办法]
grep $a
[解决办法]
awk -F ':' '{print $6}'`;more $b/.profile
