Tag: linux

31 Linux Commands Every Ubuntu User Should Know

What are the essential Ubuntu commands? I have been asked this question several times by regular readers, and I have tried to avoid answering it. Why? Don’t I know Ubuntu commands? Nope. That’s not the reason. It is because it is difficult to categorize them. What’s …

How to Create Custom Linux Mint or Ubuntu ISO

Installing Linux Mint is not a big deal. It’s the things to do after installing Linux Mint that could feel tiresome. And if you have to do the same on more than one system, it gets frustrating. Imagine having several computers in your home, lab, or …

How to Flush DNS in Linux

You can flush the DNS cache on a systemd-based Linux computer with the “resolvectl flush-caches” command. If you use dnsmasq, you can clear the DNS using “sudo killall -HUP dnsmasq” instead. Is your internet browsing experience slow on your Linux device, or are the websites you’re …

How to Find the PID of a Linux Process With pidof or pgrep

To find the process ID of a Linux process, use the pidof command, like this: “pidof examplename”. If you only know part of the PID name, you can use “pgrep examplenamefragment” instead. Replace “examplename” and “examplenamefragment” with the terms you want to search for. Working with …

How to Get Your Public IP in a Linux Bash Script

You can get your external IP from a website with the curl command like “curl -s ifconfig.me”. However, websites can change. For a more reliable answer, use the dig command instead like “dig @resolver1.opendns.com myip.opendns.com +short” to get your IP from a DNS server. You’ll need …

7 Mistakes New Linux Users Make (and How to Avoid Them)

Learning Linux can be a frustrating experience where everything little thing feels like a battle. Avoiding these common mistakes will make your introduction and adoption of Linux much easier and less stressful. Welcome to Linux, Here Be Dragons Using Linux is much simpler than it used …

How to install ADB on Windows, macOS, and Linux

Several features of the Android platform can be accessed only through paths and methods that are hidden away from the average user. These have generally been done with the help of some command line Android Debug Bridge (ADB) commands, a tool that Google offers for developers …

How to Use AppImages on Linux

AppImages let Linux developers wrap their applications into a single file that installs on any Linux distribution. That simplifies things tremendously. Here’s how to use them, and integrate them into your desktop. Installing Software on Linux Installing software should be simple and convenient. How simple and …