Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 806 Bytes

bmtNetwork.md

File metadata and controls

36 lines (24 loc) · 806 Bytes
Library file Function Sections Content help file
bmtNetwork bmtNetworkFunc 301-302 Network bmtNetwork.md

Section Three, Network

  • 301 Check if a website is up
  • 302 Weather forecast

Sub-Sections

  1. Check website up uses netcat utility

Keyword checknet, first option url of website. Returns 0 for connectivity , 2 for no connectivity

  1. Param1 The URL
  2. Param2 NOMES(optional) can be used to surpress verbose output.
bmtNetworkFunc checknet "www.google.ie"
bmtNetworkFunc checknet "www.google.ie" "NOMES"
  1. weather

Weather report by wttr.in, uses wget utility

  1. Param1 Type a City name, airport code, domain name or area code:-
  2. Param2 format 1-4
bmtNetworkFunc weather Dublin 4