How Do You Locate A Flash Drive In Unix?
Depending on your version of Unix or Linux, flash drives may not be automatically identified and mounted by the system. Discovering the device id of the drive so that it can be mounted manually can be a difficult problem. However, there is a fairly simple technique for quickly finding the flash device on your system and mounting it. Step 1 Disconnect your flash drive from the computer. Step 2 Open a terminal window. You’re going to use a simple Unix command called “tail” to have a running copy of the system message log printed to this terminal. Step 3 Run the following command: tail -f /var/log/messages The application tail, run without any flags, will simply print out the tail end of whatever file is given to it–usually the last dozen lines or so. However, with the “-f” modifier, it becomes a very powerful command: it watches the file and immediately updates your terminal with any lines that are added to it. Step 4 Plug in your flash drive and watch the terminal that is running tail