proggybilly
Programmer
I need to place the results of ifconfig into a file, but seperating the interfaces. I can get the info into the file, but it runs it all together into one line. Can anyone help me to seperate the information?
I am doing:
I am doing:
Code:
THRU=`ifconfig`
echo $THRU > /backup/log.txt