当前位置:网站首页>Shell common script: get the IP address of the network card
Shell common script: get the IP address of the network card
2022-07-25 13:05:00 【Uh huh**】
ip.sh
#/bin/bash
ipAddr=$(ip addr show | grep inet | grep -v inet6 | grep '/24' | awk '{print $2}' | awk -F '/' '{print $1}')
echo " network card IP Address :${ipAddr}"

边栏推荐
- [machine learning] experimental notes - emotion recognition
- B树和B+树
- Moving Chinese figure liushenglan
- 【历史上的今天】7 月 25 日:IBM 获得了第一项专利;Verizon 收购雅虎;亚马逊发布 Fire Phone
- Want to go whoring in vain, right? Enough for you this time!
- 程序员奶爸自制AI喂奶检测仪,预判宝宝饿点,不让哭声影响老婆睡眠
- 【OpenCV 例程 300篇】239. Harris 角点检测之精确定位(cornerSubPix)
- 零基础学习CANoe Panel(12)—— 进度条(Progress Bar)
- Seven lines of code made station B crash for three hours, but "a scheming 0"
- 迁移PaloAlto HA高可用防火墙到Panorama
猜你喜欢

2022.07.24 (lc_6126_design food scoring system)

弹性盒子(Flex Box)详解

485 communication (detailed explanation)

Want to go whoring in vain, right? Enough for you this time!

JS 将伪数组转换成数组

卷积核越大性能越强?一文解读RepLKNet模型

G027-OP-INS-RHEL-04 RedHat OpenStack 创建自定义的QCOW2格式镜像

艰辛的旅程

JS convert pseudo array to array

Zero basic learning canoe panel (15) -- CAPL output view
随机推荐
零基础学习CANoe Panel(13)—— 滑条(TrackBar )
【CSDN 年终总结】结束与开始,一直在路上—— “1+1=王”的2021总结
Want to go whoring in vain, right? Enough for you this time!
跌荡的人生
EMQX Cloud 更新:日志分析增加更多参数,监控运维更省心
Detailed explanation of switch link aggregation [Huawei ENSP]
go : gin 自定义日志输出格式
Shell常用脚本:获取网卡IP地址
pytorch创建自己的Dataset加载数据集
The programmer's father made his own AI breast feeding detector to predict that the baby is hungry and not let the crying affect his wife's sleep
Zero basic learning canoe panel (14) -- led control and LCD control
【历史上的今天】7 月 25 日:IBM 获得了第一项专利;Verizon 收购雅虎;亚马逊发布 Fire Phone
Force deduction 83 biweekly T4 6131. The shortest dice sequence impossible to get, 303 weeks T4 6127. The number of high-quality pairs
Perf performance debugging
弹性盒子(Flex Box)详解
想要白嫖正则大全是吧?这一次给你个够!
2022 年中回顾 | 大模型技术最新进展 澜舟科技
Zero basic learning canoe panel (12) -- progress bar
Deep learning MEMC framing paper list
Moving Chinese figure liushenglan