# find /proc -name exe -exec ls -al {} \; 2>/dev/null | grep sh | awk -F" " '{ print $3 }'
ÀúÀÇ °æ¿ì ·çÆ®±ÇÇÑÀ¸·Î(À¯Àú ±ÇÇÑÀÌ ¾Æ´Ñ) ¼öÇàÇÏ´Ï Àß Ãâ·ÂµÇ³×¿ä.^^
*À¯Àú±ÇÇÑÀÏ °æ¿ì*
sh-2.05$ find /proc -name exe -exec ls -al {} \; 2>/dev/null | grep sh | awk -F" " '{ print $3 }'
Ambiguous output redirect.
*·çÆ®±ÇÇÑÀÏ°æ¿ì*
sh-2.05# id
uid=0(root) gid=0(root) groups=5004(cloud),5000(dba)
sh-2.05# find /proc -name exe -exec ls -al {} \; 2>/dev/null | grep bash | awk -F" " '{ print $3 }'
root
root
cloud
############################
¼Ö¶ó¸®½º /proc µÚÁ®¼ ÇöÀç Á¢¼ÓÀÚ Ã£´Â ¹æ¹ý ¾Æ½Ã´Â ºÐ ¾ËÅ°ÁÖ¼¼¿ä.^^
Thx, Nova & Indra ^^
|