Click here to Skip to main content
15,908,175 members

Comments by goldpower.1977 (Top 1 by date)

goldpower.1977 27-Nov-15 5:19am View    
Deleted
how do you fix (not work !!!!) ?


if find /u01/monitor/list; then
echo "Path found."
elif mkdir -p /u01/monitor/list; then
echo "Path not fount ; Path Created!"
fi

year="date +"%y""
while [$year=="15"]
do
ps -e >/u01/monitor/list/Process-data.txt
if grep 'firefox' /u01/monitor/list/Process-data.txt;then
echo "not found !!"
sleep 60
elif firefox;then
echo "launch firefox"
done