Month: January 2025

Ubuntu 22.04 – Check memory usage – free | top

https://youtube.com/shorts/x6N1uD1CSd0?feature=share In Ubuntu (and Linux in general), "free" refers to the amount of unused RAM (Random Access Memory) available on your system, which you can check using the "free" command in the terminal; essentially, it...

Ubuntu 22.04 – Check disk usage – df | du

https://youtube.com/shorts/3KlDF59ABuM?feature=share In Ubuntu, "df" stands for "disk free" and is a command used to display the amount of available disk space on a mounted file system, essentially showing how much free space is currently available on your system.  df...

Ubuntu 22.04 – What is Bash and its config

Bash (Bourne Again SHell) is one of the most commonly used command-line interpreters or shells in Unix-based systems, such as Linux and macOS. It provides an interface for users to interact with the operating system by executing commands, running scripts, and managing...

Ubuntu 22.04 – Add User to Sudoers and Config

Use the usermod or adduser command to add user to sudoers group sudo usermod -aG sudo username or sudo adduser username sudo To remove the need to enter password when issuing sudo (privilege) commands. The file that the configure is saved /etc/sudoers. Use the visudo...

Ubuntu 22.04 – Change hostname – hostnamectl

https://youtube.com/shorts/6gWG9n2Hq8I Command to change Ubuntu hostname through CLI without rebooting hostnamectl set-hostname new-hostname There are other useful options that you can use with hostamectl command If you are a developer than showing the host...