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.


What is “cat”?

cat is a Unix command that will simply output the contents of a file or multiple files.