[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which command can show if usb 3.0 is used



easier, diff -aq lsblk.old lsblk.new
Even without that, wc -l lsblk.old && wc -l lsblk.new
With two different numbers, the new drive is recognized.


On Mon, 31 May 2021, Stella Ashburne wrote:

> Hi
>
> > Sent: Monday, May 31, 2021 at 8:36 AM
> > From: "Jude DaShiell" <jdashiel@panix.com>
> > To: "Long Wind" <longwind2@yahoo.com>, "Debian-user Mailing List" <debian-user@lists.debian.org>
> > Subject: Re: which command can show if usb 3.0 is used
> >
> > First disconnect the disk; next run lsblk >lsblk.old, next connect the
> > disk, next run lsblk >lsblk.new.  Finally do a diff on lsblk.old lsblk.new
> > and see if something shows up in lsblk.new that isn't in lsblk.old.
> >
> Can I do a diff using the following command in a terminal?
>
> diff -c lsblk.old lsblk.new
>
>


Reply to: