It seem's pretty simple but i need help writing an if else script that does ps x | grep process, then send's the resulting text to: read proccheck, then if [ $proccheck -eq $null ] then /path/to/process. I have some processes that keep dying and i want a script to keep checking every 10 minutes or so(With the help of cron) and start it if its not running while i debug the process. Any help would be greatly appreciated.