Dear Linux geeks, Sometimes you need to find information about your CPU on your Linux machine and there are many ways to do it. So in this tutorial I will teach you how to find details about your CPU such as processor, architecture, vendor name and many others that are very useful to ...
There are several ways of knowing the version of Linux you are running on your machine as well as your distribution name and kernel version plus some extra information that you may probably want to have in mind or at your fingertips. Therefore, in this simple yet important guide for new Lin...
However, you can use a range of other commands on a Linux machine which will let you check which ports are open in your Linux environment, and ensure they are ready to receive communication from other machines. We will cover three in the following section – Isof, netstat and nmap. How ...
If your machine is permanently connected to the Internet, you can run a Network Time Protocol (NTP) daemon to maintain the time using a remote server. Many distributions have built-in support for an NTP daemon, but it may not be enabled by default. You might need to install an ntpd pack...
1. Check Linux Disk Space Usage The “df” command displays the information of device name, total blocks, total disk space, used disk space, available disk space, and mount points on a file system. sudo df Show Linux Disk Space Usage ...
We’ll begin by looking at how your Linux machine connects to the network in order to answer the where question at the beginning of the chapter. This is the lower part of the stack—the physical and network layers. Later, we’ll look at the upper two layers that answer the what questio...
These methods were tested on an Ubuntu 23.10 machine, but they will work on most Linux machines. How to check CPU and RAM usage using the Terminal Using the top command on Linux One of the easiest ways to get CPU and RAM usage details is by using a simpletopcommand in the terminal, ...
Method 1: Change hostname using systemd tools If your Linux system uses systemd, you can use the tools provided by systemd to change the hostname. To check your current hostname and some other information, use the command: hostnamectl ...
Apart from sudo, you can also reset the root password of your Linux system through the GRUB bootloader. This is useful if you don’t have a sudo-capable user to perform a password change from the terminal. To do this, you need to force the machine to boot in “single user mode” whi...
hostname -I It will just give the IP address of the system. Nothing else. Hostname only shows IP address There are otherways to check IP addresses in Linuxbut these two commands are more than enough to serve the purpose. 📋 Long-time users might be tempted to useifconfig(part of net...