OK I'm in the middle of a script and place the following.
Code: Select all
/sbin/iwconfig > /tmp/iwstuff.txt
Backticks does nothing, trying exec closes script or closes cli !
This doesn't work in either a script or from command line. Command line does echo the output though ?
What's wrong, have I missed something ?
Just tried ifconfig > test.txt and it created a file with the stdout in it ????