Search notes:

Script: p8

p8 is intended to quickly find out if there is a connection to the internet.
The script pings Google's public DNS server which is located on the IP address 8.8.8.8.
It comes in three variants:

p8

#!/bin/sh

ping -c 4 8.8.8.8
Github repository scripts-and-utilities, path: /p8

p8.bat

The Windows batch file variant uses ping.exe
@rem
@rem  convoluted call with exit suppress the idiotic
@rem    Terminate batch job (Y/N)
@rem  confirmation
@rem

@cmd /k ping -t 8.8.8.8 & exit
Github repository scripts-and-utilities, path: /p8.bat

p8.ps1

ping 8.8.8.8
Github repository scripts-and-utilities, path: /p8.ps1

See also

scripts

Index