Search Results

Search: Posts Made By: fpmurphy
3,438
Posted By fpmurphy
No need to use grep or cut. Use the power of awk...
No need to use grep or cut. Use the power of awk to simplify your script i.e.

ifconfig wlan2 | awk '/HWaddr/ { print substr($5,1,23) }'
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 03:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy