Guest itmpm Posted December 18, 2002 Report Share Posted December 18, 2002 Hi. How can you tell if the cdrom (/mnt/cdrom) is mounted or not from a bash script? MTIA, Matt Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted December 18, 2002 Report Share Posted December 18, 2002 grep -i cdrom /etc/mtab Quote Link to comment Share on other sites More sharing options...
chalex20 Posted December 18, 2002 Report Share Posted December 18, 2002 Hi. How can you tell if the cdrom (/mnt/cdrom) is mounted or not from a bash script? MTIA, Matt mount | grep /mnt/cdrom Quote Link to comment Share on other sites More sharing options...
Guest itmpm Posted December 18, 2002 Report Share Posted December 18, 2002 Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.