Archive for October, 2020
Bash: Read Into an Array
Posted by delightlylinux in linux on October 28, 2020
📅 October 28, 2020
Suppose you want to populate a Bash array with a list of values or words. Is there a convenient way to do this without manually specifying each individual index for the array?
Yes, there is! Using read or mapfile, we can declare and populate a Bash array in one go.
Bash: Show Notifications from Scripts Using notify-send
Posted by delightlylinux in linux on October 25, 2020
📅 October 25, 2020
Are you familiar with those notification popups that appear on the Linux desktop during certain events, such as a disconnected network or a completed download?
Well, did you know that you can cause these to appear with your own messages from a bash script? This can be useful when you want to be notified of an event, such as when a user logs into your system via SSH.
This article will show a few basics about how you can create your own notifications in Linux Mint 20.
Upgrading the Linux Kernel with NVIDIA Drivers
Posted by delightlylinux in linux on October 18, 2020
📅 October 18, 2020
I enjoy testing out new Linux kernels as they are released, but this can mess up the graphics if using NVIDIA graphics cards. As a result, it is necessary to reinstall or upgrade the NVIDIA graphics cards too.
The advice given in this article is identical to a previous article describing how to upgrade to Linux kernel 5.8.0 with NVIDIA graphics, so not much has changed since then aside from the software versions.
Here is a revised step-by-step kernel upgrade tutorial (with pictures!) that I have found to be 100% successful with Linux Mint and NVIDIA 1050/1060 graphics cards.