Secure settings and run command

view story

http://androidforums.com – I am trying to get my S4's IP address using Tasker. The Secure Settings plugin allows me to run a Linux command so I have set it up to run this command Code: ifconfig wlan0 | awk '{print substr($0, 11, 13)}' The command works fine at the command line and if I turn on the Show Output and Show Notification check boxes I get the output I expect. Just in case there are any other Unixers reading this I know cut would have been simpler than awk but it didn't work. I also know this command assumes that the IP address will necessarily be 13 chars long when it won't always be - I'll sort thes (General)