Search Results

Search: Posts Made By: Charles Swart
1,080
Posted By SriniShoo
try double square braces if [[ -f ${Pidfl3}...
try double square braces

if [[ -f ${Pidfl3} ]]
then
if [[ -f ${Pidfl} ]]
then
rm "${Pidfl}"
fi
if [[ -f ${Pidf2} ]]
then
rm "${Pidfl2}"
fi
else
1,229
Posted By Corona688
ps pidnumber should return success if the process...
ps pidnumber should return success if the process is alive and failure if the process is dead. It also prints text so redirect to /dev/null.
1,231
Posted By Scrutinizer
Hi, you are using exec, so the shell executing...
Hi, you are using exec, so the shell executing /udd026/SAS_Progs/IVEREX62.sh will replace the parent script's shell, without creating a new process. So this code:
SCHEDULER_EXIT= $?
echo IVEREX62...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy