Hunter的大杂烩 技术学习笔记

2022-08-07

bash正则表达式取IP

Filed under: 技术话题 — hunter @ 5:38 pm

from:https://www.nuomiphp.com/eplan/626355.html

from: https://blog.csdn.net/qq_41111018/article/details/119768553

ifconfig eth0 |grep -Eo ‘([0-9]{1,3}\.){3}[0-9]{1,3}’|head -n1

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress