Posts by Carlos Alberto • 1 point
1 post
-
0
votes3
answers7306
viewsA: Check if a process is not running and then run it
Starting a process once, opening a session in the terminal. Place at the end of the file ~/. bashrc: pid=$(pgrep -x redshift) if [ "$pid" = "" ] then redshift & fi…