Bash-check-if-ip-address: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

25 April 2024

15 October 2021

  • curprev 16:1616:16, 15 October 2021Chubbard talk contribs 474 bytes +474 Created page with "this is a VERY simple check to see if you have an IP address as your variable <pre> function valid_ip() { local ip=$1 local stat=1 if [[ $ip =~ ^[0-9]{1,3}\.[0-..."