Command line equivalent of block device in the app? thx


i want to block a device from the command line, after a certain time period.

so i have to figure out how to block the device from command line first.

i google-ed and only found complex firewall setting tutorials.

may i ask:

  1. is the blocking device in the app by mac or by what?

  2. what is the command line equivalent so i can play with it myself?


Do you want to block wifi device?

What model do you have? For wifi, it may relate to different wifi drivers so model matters.