shell 中 ` ` 的使用及本地ip的查看及IP对应的网段

例:ip=$(hostname -i) 和 ip=(`hostname -i`)   都能得到 ip

 

原文地址:https://www.cnblogs.com/yu121/p/13278685.html