today's howtows
-
The pragmatic effects of setting nconnect on NFS v3 mounts on Linux
After I wrote about how Linux NFS clients normally only make one TCP connection to a given fileserver no matter how many NFS mounts they have, people pointed out the 'nconnect' for NFS mounts, as documented in nfs(5). Naturally I wondered what the effects of setting this above one are (so in theory one or more mounts uses multiple TCP connections), and conveniently I have an environment where I can test this.
Suppose that you have a NFS fileserver that you mount a bunch of filesystems from, and you set 'nconnect=2' on all of those NFS mounts. At the level of TCP connections, what you wind up with is two TCP connections to the fileserver instead of one, each with its own local port. If you then set nconnect to 3 for a few of those filesystems but not all of them, you'll get a surprise; there are still only two connections and /proc/mounts will say that those filesystems are NFS mounted with 'nconnect=2' despite you providing 'nconnect=3' when they were mounted. In practice, all mounts from a given server use the lowest nconnect setting among all such mounts, with one exception.
-
3 Ways to Find Kernel Version on Raspberry Pi
Kernel is the backbone of a system that controls the activities of your operating system. It allows the system to connect application software to a system’s hardware. It resides in the main system memory, completely controlling your software and hardware resources like CPU usage, file systems, network usage and many other activities. Updating your system Kernel is extremely important for improving your system’s security and fixing the bugs in the previous version. It also adds new features to the system and helps to increase the overall system performance.
If you are looking for a way to discover the Kernel version of your Raspberry Pi system, follow this guide to find out how you can do it.
-
Install and Use Grub Customizer in Fedora Linux - It’s FOSS
Grub Customizer is a handy tool for customizing the grub configuration and changing its appearance.
While you can do all this in the command line by modifying the grub config file, Grub Customizer gives you the comfort of a GUI tool.
In this article, I will walk you through the steps of installing and using the mighty tool GRUB Customizer in Fedora Linux.
-
Pretty Print XML in Linux Command Line
While XML (Extensible Markup Language) is a human-readable markup language, you'll more likely find XML files unstructured enough to give you headaches!
-
How to create and call functions in Bash | FOSS Linux
Since we humans made the fantastic discovery of computers, we have been trying to improve it further and further than the last day. This is done through the challenging work of the millions of programmers across the planet and the hundreds of programming languages. Programming works on several fundamental principles, one of which is the usage of functions. Today, we will see how to create a function in Linux’s most popular scripting language, Bash.
-
How to Change a Password on Linux Mint 21 | Mark Ai Code
A password is used to authenticate any device, whether it be a mobile or desktop system. It is mandatory to create a secure, difficult-to-crack password while dealing with the system. Changing your password after a certain period of time will help you avoid system assaults. It occurs while you are at work and working as a team member. In such a case, some of your team members could know your password. This would cause issues since data might be hacked or assaulted by anyone.
Resetting passwords on a regular basis might help you avoid these issues. Even if your prior credential (password) is discovered, they will not be able to access the system.