In Linux, is it possible via a bash script to take ‘/dev/sr0’ and determine what folder it’s mounted to and perform extra actions on said folder?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can output the directory name via this command:
or use it in other commands like this (e.g. list its contents):