Skip to content

lsflash.sh

M Hightower edited this page Jul 14, 2018 · 3 revisions

lsflash.sh

A simple bash script that attempts to extract information on USB block devices, which might be flash devices. You must decide which is the device you are looking for.

Usage:

  lsflash.sh [   ] | [--help]

  Supported operations:

    default
      Shows a list of USB Drives, some of which may be flash drives.
      The /dev/sd... device name, size of the device (which might be
      a partition), and device name description are reported.

    --help
      This usage message.

Clone this wiki locally