Search Results

Search: Posts Made By: RudiC
2,927
Posted By RudiC
Could be simplified as you want to quit after the...
Could be simplified as you want to quit after the first ip encountered:
ip=$(sed -n '/inet */ {s///; p; q}' file)
Showing results 1 to 1 of 1

 

Featured Tech Videos

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