Make Capslock to act as Esc § xmodmap -e "keycode 66 = Escape NoSymbol Escape" source Format pen drive § sudo umount /dev/sdb* sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1 sudo fdisk /dev/sdb # Command (m for help): n # Command (m for help): p # choose other values default # Command (m for help): w sudo mkfs.ntfs /dev/sdb1 # below command only if you think there is some corruption in the drive # For ex: one time I was not able to mount it so after running this command was able to mount my pendrive sudo ntfsfix /dev/sdb1 Few permissions command that always help me § # To see the list of users belong to any group getent group <GROUP_NAME> # Add current user to particular group sudo usermod -aG <GROUP_NAME> $USER