How to securely wipe a hard drive or USB drive in Linux using dd or scrub

Normally we'd use dd to clean wipe a hard drive as follows after opening a terminal window for a hard disk or USB drive accessible as /dev/sdb :$ sudo dd if=/dev/urandom of=/dev/sdb status=progress <enter> Another command to do a secure wipe of /dev/sdb is scrub that can be used as follows:$ sudo scrub -p dod … Continue reading How to securely wipe a hard drive or USB drive in Linux using dd or scrub

Dell Support Experience to order and replace laptop battery

This is based on the experience of one of my family with Dell Support whose Dell Inspiron uses a 3 cell 4.1V 3500 mAH Li-ion battery - part number FW8KR11. This was confirmed in Linux using dmidecode. Open a terminal window and enter the command below.$ sudo dmidecode <enter>Portable BatteryLocation: Sys. Battery BayManufacturer: BYDManufacture Date: … Continue reading Dell Support Experience to order and replace laptop battery

How to increase font size of menus, lists in Spotify in Linux

To scale the font size of Spotify on Linux, open a terminal window and enter the following command.$ spotify --force-device-scale-factor=1.5 <enter> You will find that spotify menus are now bigger and more readable. To make them scale permanently whenever Spotify starts, create a desktop shortcut and put the scaling factor in the desktop file. $ … Continue reading How to increase font size of menus, lists in Spotify in Linux

How to restore or reinstall package uninstalled on android using adb

To reinstall an existing uninstalled package on a Samsung Android phone, connect the device to the computer in developer mode and start up ADB. List all uninstalled packages and check the package name that is to be reinstalled, for example, gallery3d, in the adb window, enter:pm list packages -u | grep "gallery" <enter> To install … Continue reading How to restore or reinstall package uninstalled on android using adb

How to run latest India income tax utility for the Financial Year 2020-21 (AY 2021-22) in Linux

The Indian income tax department has launched a new tax portal and has also created new income tax utilities to enable income tax returns filers to file their tax returns. Past years' utilities could be run on Linux or any other operating system because they were written in Java. However, this time, the utilities are … Continue reading How to run latest India income tax utility for the Financial Year 2020-21 (AY 2021-22) in Linux

How to fix initramfs-tools error when updating it

Below error appears when updating the initramfs-tools: Processing triggers for initramfs-tools (0.130ubuntu3.8) …update-initramfs: Generating /boot/initrd.img-5.1.0-15-genericI: The initramfs will attempt to resume from /dev/dm-1I: (/dev/mapper/vg0-swap)I: Set the RESUME variable to override this. Before proceeding beyond this point, take a data backup. This error usually occurs if the computer had dual booting and a swap file that … Continue reading How to fix initramfs-tools error when updating it

How to check if TRIM is enabled on Linux Mint 20.1

After installation of a NVMe SSD in the laptop, it needs to be well-managed so that it's life does not decrease. To do this, most modern systems use TRIM to manage and delete unwanted blocks of data on the SSD. To check if TRIM is enabled on the Linux Mint 20.1 laptop, open a terminal … Continue reading How to check if TRIM is enabled on Linux Mint 20.1

How to merge PDF files in Linux

Merging PDFs in Ubuntu Linux or Linux Mint was real easy using the pdfunite command in a terminal. To merge PDF files in Linux open a terminal window enter the following command:$ pdfunite file1.pdf file2.pdf file3.pdf combined.pdf <enter> where file1.pdf, file2.pdf and file3.pdf are the individual pdf files that will be merged and combined.pdf is … Continue reading How to merge PDF files in Linux

How to fix error while updating repositories in Ubuntu or Linux Mint

On entering the apt-get update command, the following errors appeared. Reading package lists… DoneW: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Cannot initiate the connection to dl.google.com:80 (2414:6221:4109:825::210a). - connect (101: Network is unreachable) Could not connect to dl.google.com:80 (2xx.5x.2xx.2xx), connection timed outW: Some index files failed to download. They have been ignored, or old ones used instead. … Continue reading How to fix error while updating repositories in Ubuntu or Linux Mint