How do I disable a specific wifi network through terminal?
OS X and iOS all save known networks, so just forget that network and tell your computer to not ask to join networks.

The steps vary, but you should be able to open help from the Finder and search for "Choose preferred Wi-Fi networks" and it will guide you to the advanced settings for networking so you can delete any networks you don't want to join again. If you have many, you might delete them all and start fresh by only joining networks you intend to use for work purposes.

If you want to go a step further, delete the network password from your Keychain or change the password on the router and your mac won't re-join that network ever. 

Enjoy your break from the home network.

p.s. deleting this from terminal isn't something I know how to do, so sorry if you really wanted to learn how to script things, but this seems like something you could accomplish in 3 minutes or less without complicating things in terminal.