Skip to content

Instantly share code, notes, and snippets.

@plathrop
Created September 11, 2015 14:19
Show Gist options
  • Save plathrop/f1365348920a4d337e8c to your computer and use it in GitHub Desktop.
Save plathrop/f1365348920a4d337e8c to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Execute a command suppressing all output.
function silently {
$@ &> /dev/null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment