{"id":373,"date":"2012-01-14T01:40:28","date_gmt":"2012-01-14T01:40:28","guid":{"rendered":"http:\/\/shivdev.com\/blog\/?p=373"},"modified":"2012-01-14T01:40:28","modified_gmt":"2012-01-14T01:40:28","slug":"access-the-cd-rom-or-usb-from-a-linux-terminal","status":"publish","type":"post","link":"http:\/\/shivdev.com\/blog\/2012\/01\/14\/access-the-cd-rom-or-usb-from-a-linux-terminal\/","title":{"rendered":"Access the CD-ROM or USB from a Linux Terminal"},"content":{"rendered":"<p>Even though this is not a very common use case, you might need to do this and like just about anything with Linux, there&#8217;s a bit of a pain here as well.<br \/>\nThe easiest way is to access the Disk Utility and see the Mount Point and just cd to that mount point. For example, cd \/media\/RHEL_6.1\/<\/p>\n<p>Otherwise, follow the steps below or read up on <em>mount <\/em>and <em>umount <\/em>(unmount)<\/p>\n<p>Depending on the OS, most likely the cdrom will be at <strong>\/dev\/cdrom<\/strong>, the USB will be at <strong>\/dev\/usb<\/strong> etc. But may change.<\/p>\n<blockquote><p>\n# Login as root, then follow these steps<br \/>\n$ mkdir \/mnt<br \/>\n$ mount \/dev\/cdrom \/mnt\/cdrom<br \/>\n$ cd \/mnt\/cdrom<br \/>\n$ ls<\/p>\n<p># To unmount, use the umount command<br \/>\n$ umount \/mnt\/cdrom<br \/>\n$ ls\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Even though this is not a very common use case, you might need to do this and like just about anything with Linux, there&#8217;s a bit of a pain here as well. The easiest way is to access the Disk Utility and see the Mount Point and just cd to that mount point. For example, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"_links":{"self":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/373"}],"collection":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":1,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":374,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/373\/revisions\/374"}],"wp:attachment":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}