sending the output of a script through mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


hey friends,

I have written a script which shows the local and lan address of a system.

test= ifconfig -a | grep addr: | awk '{print $2}'

I want to send the output of this command to a user through mail. How
can I achieven this ?

Thanks & Regards

Ankush Grover

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux