Skip to content

Instantly share code, notes, and snippets.

@CoolOppo
Last active June 28, 2018 01:35
Show Gist options
  • Save CoolOppo/f1f0845fb724b3568279 to your computer and use it in GitHub Desktop.
Save CoolOppo/f1f0845fb724b3568279 to your computer and use it in GitHub Desktop.
# Background function to run any given command in the background and
# disown it from the shell, hiding ALL output:
bkr()
{
(nohup "$@" &>/dev/null &)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment