Is there a command or utility that will enable or disable the connection to the internet quickly and easily?
I've tried netshutdown but that closes apps (which I don't want) and will sometimes wait forever.
Maybe the program Granite could have an option to block everything temporarily?