3 ms·if mount | grep cdrom ; then echo hotdog else echo nothotdog fiby OJFord 6y agoif mount | grep cdrom ; then echo hotdog else echo nothotdog fi