hello guys i’m wondering how to store os.system result in variable
as we know it’s return 0
so i’m wondering what i should do to store the result
and second question : how to get ip in Linux [ somebody will suggest ifconfig] but ifconfig show so many result i just wana the IP
As for the second question, see http://www.cyberciti.biz/tips/read-unixlinux-system-ip-address-in-a-shell-script.html