Last active
May 18, 2020 01:34
-
-
Save kirevdokimov/f2098fc7b7d259faa2b62968028247d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run process wuth given name | |
bash -c "exec -a MyUniqueProcessName <command> &" | |
# Kill process by name | |
pkill -f "MyUniqueProcessName" | |
# Show tree of processes with pids | |
pstree -p | |
# Install pstree to debian | |
sudo apt get install psmisc | |
# Run "command" silent and disowned | |
command 1>/dev/null 2>/dev/null & disown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment