Hi,

Can someone please tell me why this does work:


for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do echo 
$(basename $i .ko.xz); done;

While this doesn't:

for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do grep 
$(basename $i .ko.xz) /proc/modules; done;
for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do 
lsmod | grep $(basename $i .ko.xz); done;

Thanks,
Mischa.

Reply via email to