This WordPress site uses the Google Authenticator plugin to provide two-factor authentication (2FA) when logging-in to the administration area. Occasionally I need to temporarily disable 2FA in order to publish posts from the blogging software I use. Traditionally toggling 2FA is achieved from the WordPress backend. This post looks at two alternative methods of doing this locally from the command line.
The first line of a shell script – beginning
#! – is called a shebang and typically determines which interpreter parses the script’s contents. This is not always the case and on occasion it may be helpful to know which interpreter is being used.