I used the command lsblk and the system recognized my pendrive as /dev/sdb.

The problem is that I can't read or write to it.

  • 3
    Can you please be more explicit? Did you mount you USB drive? – Claudio Cortese Nov 25 '17 at 14:57

You need to mount your usb in order to read and write data.

mkdir -p /media/$USER/usb
mount /dev/sdb1/ /media/$USER/usb

"Mounting" means "make a filesystem visible somewhere below /".

Not the answer you're looking for? Browse other questions tagged or ask your own question.