zisti (){if ps -ef | cut -b 49- | grep firefox -qthen xxx=1else xxx=0fi}zistiecho $xxxwhile [ $xxx -eq 1 ]dozistidone
Jednoduche a krastne riesenie ze mna to nenapadlo?Ale kedze sa to chcem naucit, dufam ze nebudu vadit 2 otazocky.Nechapem tie bodkociarky vsade, koli comu sa davaju?a to grep firefox, pre co mi zisti ci bezi? Odkial je vstup?
<Firzen> tak teď budu Číňan<Firzen> tak uvidíme