Posts
Automatic Desktop Wallpaper Changer for Linux
… $folder/temp_back|wc -l) rand=$(echo `expr $RANDOM % $no`) while ( grep -q $rand $folder/.last50 ) do rand=$(echo `expr $RANDOM % $no`) done echo $rand >> $folder/.last50 tail -50 … But I have specified to take only jpg and jpeg only.Now a random image is picked from that using the environment variable $RANDOM. Next …
Recent Comments