For system, network and cloud administrators

How to append text to a file in Linux

For example, I wanted the current logged user in my Ubuntu desktop, to be added to the sudoers file. That was important for me because I wanted to run podman. In order to do that, I’ve used several methods.