![]() ![]() ![]() So what you can do is use the grep command to list drives mounted to the /media directory: lsblk | grep media 3. But without any options, it will list all the disk blocks. The lsblk command will give you a similar result to the df command that I explained above. So if you are looking for a way to list disk drives, you can use the df command as shown: df -Th | grep mediaĪnd as you can see, it listed all the drives that are mounted at the /media directory. ![]() Whenever you plug the disk drive into your system, it will be automatically mounted in the /media directory. Well, that's what I'm going to cover in this tutorial. Sure, if the disk is mounted, it can easily be retrieved with the file manager or by listing the disks of the system but what about the connected keyboard or mouse or other interfaces that are not mounted on the file system? Most users rely on external peripherals like USB drives, wireless keyboards, mice, disk drive, and more to use their computers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |