Ad-hoc Commands An ad-hoc command is a command that we would use to do something really quick but would not want to save for later, i.e., we might not use this command in the future. General syntax of an ad-hoc command: Command hostgroup module/options [arguments] Function Command ...