当前位置:网站首页>Shell常用脚本:获取网卡IP地址
Shell常用脚本:获取网卡IP地址
2022-07-25 12:41:00 【嗯嗯**】
ip.sh
#/bin/bash
ipAddr=$(ip addr show | grep inet | grep -v inet6 | grep '/24' | awk '{print $2}' | awk -F '/' '{print $1}')
echo "网卡IP地址:${ipAddr}"

边栏推荐
- 如何用因果推断和实验驱动用户增长? | 7月28日TF67
- 《富兰克林自传》修身
- Is the securities account opened by qiniu safe? How to open an account
- 想要做好软件测试,可以先了解AST、SCA和渗透测试
- 全球都热炸了,谷歌服务器已经崩掉了
- 2022.07.24(LC_6126_设计食物评分系统)
- 程序员奶爸自制AI喂奶检测仪,预判宝宝饿点,不让哭声影响老婆睡眠
- Deployment of Apache website services and implementation of access control
- Use vsftpd service to transfer files (anonymous user authentication, local user authentication, virtual user authentication)
- What does the software testing process include? What are the test methods?
猜你喜欢

Zero basic learning canoe panel (16) -- clock control/panel control/start stop control/tab control

If you want to do a good job in software testing, you can first understand ast, SCA and penetration testing

【AI4Code】《InferCode: Self-Supervised Learning of Code Representations by Predicting Subtrees》ICSE‘21

Kyligence was selected into Gartner 2022 data management technology maturity curve report

Eccv2022 | transclassp class level grab posture migration

Azure Devops (XIV) use azure's private nuget warehouse

业务可视化-让你的流程图'Run'起来(3.分支选择&跨语言分布式运行节点)

More accurate and efficient segmentation of organs-at-risk in radiotherapy with Convolutional Neural

Jenkins configuration pipeline

LeetCode 1184. 公交站间的距离
随机推荐
conda常用命令:安装,更新,创建,激活,关闭,查看,卸载,删除,清理,重命名,换源,问题
Leetcode 1184. distance between bus stops
如何用因果推断和实验驱动用户增长? | 7月28日TF67
2022.07.24(LC_6125_相等行列对)
JS 将伪数组转换成数组
Deployment of Apache website services and implementation of access control
Clickhouse notes 03-- grafana accesses Clickhouse
Synergetic process
"Wei Lai Cup" 2022 Niuke summer multi school training camp 2 supplementary problem solution (g, J, K, l)
[shutter -- layout] stacked layout (stack and positioned)
深度学习MEMC插帧论文列表paper list
[high concurrency] deeply analyze the execution process of worker threads in the thread pool through the source code
2022.07.24 (lc_6124_the first letter that appears twice)
【AI4Code】《CodeBERT: A Pre-Trained Model for Programming and Natural Languages》 EMNLP 2020
Zero basic learning canoe panel (13) -- trackbar
485 communication (detailed explanation)
【运维、实施精品】月薪10k+的技术岗位面试技巧
A hard journey
Keeping MySQL highly available
Implementation of recommendation system collaborative filtering in spark