Search Results

Search: Posts Made By: Lim
5,701
Posted By Lim
Thanks all
Thanks all
5,701
Posted By Lim
How to print last character of hostname and assign to a variable ?
Hi

How to pass echo output to a variable ?

Does below awk command will get the last character of hostname and assign to a variable - "svr" ?

svr=$( echo `hostname` | awk '{print...
Showing results 1 to 2 of 2

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