Skip to content

bkg

Usage
bkg <command> [args...]

Launches a command in the background, fully detached from the terminal using nohup. All stdout and stderr output is discarded. Simpler than detach; no –version flag.

Arguments:

command The command to run detached
args... Additional arguments for the command

Returns:

0 Command launched successfully
1 No command provided
Examples
bkg firefox