Home
Mobile
Internet
Server
Language
Enterprise
Database
News
Others
Search
shell script match ip address
Enterprise
2019-08-13 22:33:59
views: null
! # / bin / bash
the Read -p Enter an address: IP
[[ "$IP" =~ ^(([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]).){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ ]] && echo it is ok
Guess you like
Origin
blog.51cto.com/14240018/2429169
shell script match ip address
Shell script-traverse the IP address in a for loop
Shell script to convert IP address to integer value
Regular match ip address
shell script fast ping the IP address of the network segment
Three methods to obtain the local ip address in shell script
Obtain the local ip address in the Shell script, and Linux obtains the local ip address
Shell IP Address Monitor
CENTOS 7 network segment with IP address detection Shell script optimized version
One-click to get Linux server network IP address Ultimate Shell Script
How to match the regular expression is a string IP address
shell script to obtain an IP card
Obtain the MAC address of the machine in the Shell script
Quickly modify the IP address of a script under Windows
Batch command: script to modify the IP address and DNS
IP address DHCP and STATIC switch batch script
Shell script: Using own IP adresss as variable
Script, awk statistics, Dos flooding IP address to join the firewall
How to use python script to automatically detect the ip address of SSH server?
Display the IP address of the current server in the Shell Command Prompt
[$] Shell script in a shell script
Shell script to configure static ip of multiple hosts in batch
The shell script automatically blocks malicious attempts to attack IP
The shell script automatically blocks malicious attempts to attack IP
[MHA]master_ip_failover Failover automatic switchover unresponsive IP address switch script test succeeded!
shell script
shell script
Shell script
Shell in four models match
grep regular expression to match address, home address
Recommended
Ranking
A quick primer on numpy basics
Two sister tease python project
Java | Multiple keywords in the replacement content are returned to the front end in red style
C ++: references
The string leetcood 1018 is a binary prefix divisible by 5
Flutter 布局组件
Java combat spingboot-redis
PMP pre-exam sprint and wrong questions sorting
ActiveMq C# Message Features: Delayed and Timed Message Delivery
DSP28377S_ copy a program from the RAM to FLASH portion DETAILS
Daily
More
2024-05-16(23)
2024-05-15(5)
2024-05-14(9)
2024-05-13(8)
2024-05-12(28)
2024-05-11(32)
2024-05-10(34)
2024-05-09(32)
2024-05-08(18)
2024-05-07(34)