Linux Linux: Add User to Group On Linux, a user account can be part of one, or more groups. And group membership can give that user certain extra abilities, like: * The ability to read certain files, or directories. * The ability to run sudo commands. * The ability to run docker commands (without needing to run Docker as
Git What Is a Git Branch? (Simple Explanation) If it's your first time learning about Git branches, Google results can be a bit disappointing. All you get is that "branches are pointers to commits," and abstract stuff like that. So let's simplify. Let's read about Git branches explained in simple
Git How to Create a New Branch in Git (Step-by-Step Guide with Examples) Let's learn about Git branches through the power of example. How to Use a Git Branch to Add a New Feature to an Application Imagine our application at version 1.0. It's complete. It has all the features it needs. It works well. And it has
Linux Linux Shutdown Command How do we shutdown a Linux server from the command line? With the shutdown command. This will work for real physical servers, but also virtual machines running in the cloud. To shutdown a Linux machine immediately we can run: sudo shutdown now When to Avoid Immediate Shutdown, and Schedule Instead
Linux How to Get the Size of a Directory on Linux To get the size of a directory, on Linux, we can run this command: du -sh /path/to/directory/ du is short for "disk usage". Here's an example. To see the size of the /usr/bin/ directory we would run this command: du -sh /usr/bin/
Linux How to Rename a File on Linux The command to rename a file on Linux-based operating systems is: mv old_name new_name That's if the file is located in our current directory. Not in the current directory? Then we first have to "move" there with the cd command. Here's a
Linux How to Check Linux Version (for the Operating System, and the Kernel) Sometimes we'll need to log in to remote Linux machines. And with just a command line to look at… It can be hard to know exactly what Linux distribution is running here. How is the operating system called? Ubuntu, Debian, or Red Hat? And if it's
Linux How to Check Disk Space on Linux 💡We still call it "disk space", a remnant of the era when almost everything was stored on hard disks. Nowadays, since data can be stored on SSDs, or other devices, a more generic term like "storage space" is used. But to keep in line with what
Linux How to Remove a Directory in Linux The command to remove a directory (folder) on Linux is: rm -r /path/to/directory/ It will delete it no matter if the directory is empty, or not empty. -r is the option that tells the rm (remove) command to do this recursively. That is, remove the directory itself, along
Linux How to Terminate, or Kill a Process in Linux (Complete Guide) As long-term computer users, we've certainly had to use something like Windows' Task Manager, at least a few times. An application becomes unresponsive, or slow, or simply misbehaves. And clicking on that "X" button just doesn't work. So we fire up Task Manager,
Linux How to List All Users in Linux Operating systems based on the Linux kernel support multiple user accounts. Instead of "user accounts" they're often just called "users". So let's see how to list all of these users / accounts. First, we'll explore the commands. And at the end
Linux How to Rename a Directory in Linux What Windows calls folders, Linux-based operating systems call directories. Linux Command to Rename a Directory (Quick Examples) If you want the quick answers, here they are. Using relative paths, to rename a directory called Backups to Backups_2024, we'd run a command like this: mv Backups Backups_2024
GitHub How to Generate SSH Keys (And Use Them With GitHub) Nowadays, it's extremely easy to generate SSH keys. No matter if you're using Windows, MacOS, or a Linux-based operating system. You just need to go through 3 steps: 1. Run the ssh-keygen command. 2. Pick an optional passphrase to encrypt your private key. 3. Copy / Paste
Docker What's New in Docker + Wasm Technical Preview 2 Back in October 2022, the Docker organization had some pretty exciting news. They released a technical preview of Docker Desktop that had a new ability: to run Wasm bytecode. At the end of March 2023, we got another interesting release: Docker + Wasm Technical Preview 2. Let's see what
WebAssembly Complete Docker + Wasm Tutorial: From C++ Code to Wasm Container In our previous lesson, we discussed the Docker + Wasm integration. Theory is always helpful, but nothing beats experience! So, let's demystify some concepts by actually seeing all of this in action. What will we see? Well, pretty much everything. What better way to understand how Docker runs Wasm
wasm What Is WebAssembly and Docker + Wasm? An in-Depth Look. On October 24th, 2022, we received some pretty big news: Docker got official support for running WebAssembly applications. But if you're unfamiliar with WebAssembly (also called Wasm), this might leave you confused. Why is this big news? What is Wasm? Why is it so important for Docker? Want
DevOps Why Are DevOps Salaries So High? (Over $130,000 / year) In 2022, the average salary in DevOps is well over $130,000 per year. Of course, that's the salary in rich countries like the US. But the thing is, it does not matter where you are located in the world. DevOps practices are very easy to implement from
Linux Top 7 Reasons to Learn Linux Back in the 2000s, Linux was already very popular on servers. Nowadays, it's very popular on servers, Internet of Things (IoT) devices, smartwatches, and smartphones, and let's not forget it powers almost all cloud services. According to recent statistics, there are about 32.8 million Linux
Docker What Is the Difference between Docker, LXC, and LXD Containers? Imagine you're a developer writing a cool app for Linux servers. But some people run Ubuntu 20.04 on their servers. Others run 22.04. Others run entirely different operating systems, such as Red Hat Enterprise Linux. So, how do you make sure your app runs well on
ubuntu Ubuntu vs. Redhat (Rhel): Which One Should You Learn? There's a debate in the Linux world that's half truth and half legend. And it can really interfere with a beginner who has just decided to learn about Linux system administration. The legend says that if one wants to learn a Linux-based operating system, one should
Docker and Kubernetes Kubernetes Dropping Docker: What Happens Now? A while back, Kubernetes announced that it was deprecating Docker. Actually, it was deprecating something called dockershim, and Docker alongside it. Roughly one year after the announcement, Docker was completely removed from Kubernetes. In this blog post, I'll explain why this happened and the impact it's
Docker Docker vs. Containerd: A Quick Comparison (2023) A while back, Kubernetes announced that it would be replacing Docker with another container runtime, Containerd, after v1.20. This announcement caused a lot of panic and confusion among Kubernetes users. In this blog, we’ll expound on the impact of this change by providing a comparison between Docker and
kubecon KubeCon 2022 Europe - Hot Topics and Industry Trends If you work with Kubernetes you already know that it's quite a complex and capable tool. There are literally thousands of different ways we can use it. So it can be a bit hard to keep up with everything going on in this space. Fortunately, an important conference
cncf What Is the Cloud Native Computing Foundation? The impact of open source has been immense in the world of software development. By making the source code of a software tool available to anyone in the world, open source has led to collaborative development and innovation like never before. With open source, developers worldwide can contribute their knowledge