Format pen drive using command line in Linux

Apply following commands to know the drive name of the USB pen drive.

sudo su
fdisk -l

Unmount the pen drive before the formatting process.

umount /dev/sdb1

Apply the following command to format the pen drive in FAT 32 format.

mkdosfs -F 32 -I /dev/sdb1

Install HP LaserJet P1505 in Ubuntu 16.04

Image courtesy: HP

HP LaserJet P1505 is a popular printer and can be found in most of the offices. Installation of the printer driver is necessary to run.

1. Plugin the printer to the computer.
2. Download and install the HP Printer driver. Apply following commands,

sudo su
sudo hp-setup -i

During the installation process user has to answer many questions.