I am new to bash and need help badly.
I want to write a script which will run on my android phone & perform the following things:
echo "1" > /sys/kernel/mm/ksm/run
wait for 2 minutes: then
echo "0" > /sys/kernel/mm/ksm/run
then wait for 2-3hrs & loop over again.