Understanding chmod: The Difference Between u+x and +x

Understanding chmod: The Difference Between u+x and +x

The chmod command is used to assign permissions on files and directories within a Linux system. Chmod can accept many varying syntaxes, such as symbolic mode and absolute mode, therefore it can be a little confusing when learning all the different ways that chmod can be used. When it comes to granting a user execute permissions, the u+x and +x options are often used because of their simple and straightforward syntax. But do you know the difference between these two options?

Read more

Retrieving File Permissions in Octal Mode Using the Command Line

Retrieving File Permissions in Octal Mode Using the Command Line

File permissions on a Linux system can be represented in either symbolic mode or octal mode. Using octal mode to represent file permissions is a little more succinct, since we can usually list all relevant file permissions with just three numbers. These numbers represent the owner, group, and other user permissions for any file or directory on Linux. In this tutorial, you will see how to get a listing of file permissions in octal mode representation on the Linux command line.

Read more

How to check temperature on Raspberry Pi

How to check temperature on Raspberry Pi

Although the Raspberry Pi is small, it packs a lot of power into that small space. When doing intensive tasks, the Raspberry Pi can generate too much heat, and it does not come with a fan to help keep the temperature down. For this reason, it is important to keep an eye on your Raspberry Pi’s temperature to make sure it does not get too hot and risk damaging components. Furthermore, the Raspberry Pi will not perform up to par if it needs to throttle itself to keep temperatures down.

Read more

How to check firmware version on Rapsberry Pi

How to check firmware version on Raspberry Pi

The developers of Raspberry Pi regularly release new firmware versions to address certain issues or introduce new features to the Raspberry Pi. Knowing your device’s firmware version can help you determine if it is time to upgrade, or can be helpful when troubleshooting an issue in order to see if it is isolated to a certain firmware version. In this tutorial, you will learn how to check the firmware version on a Raspberry Pi, as well as how to update the firmware, bootloader, and operating system.

Read more

Why are there so many loop partitions in my Ubuntu Linux system?

If you’ve been dabbling around with the Linux operating system, especially Ubuntu, you might have noticed numerous loop partitions appearing in your system. Often ranging in small sizes such as a mere few megabytes, you might wonder why these partition systems exist, what purpose they serve, and if they can be deleted to reclaim disk space.

Read more

How to mount partition with ntfs file system and read write access

How to mount partition with ntfs file system and read write access

NTFS stands for New Technology File System and is developed by Microsoft for use on their Windows operating systems. NTFS is not normally used on Linux systems, but has been the default file system on Windows for many years. Linux users are probably used to seeing drives with the ext4 file system, which is ordinarily the default and certainly the most widespread in the Linux realm.

Read more

Redhat Disable Firewall - start, stop, enable, disable

Redhat Disable Firewall – start, stop, enable, disable

firewalld is the default firewall on Red Hat Enterprise Linux, and it’s enabled by default, but it’s possible to disable the firewall on Redhat, and you’ll also see how to check firewall status in Linux. Normally, there should not be a need to disable the firewall, but it may be quite handy for testing purposes or other scenarios. In this tutorial, you’ll see how to check the status of firewalld, enable or disable the service from starting automatically upon system boot, and how to stop or start the firewalld service in RHEL.

Read more

Ubuntu Server 20.04: Connect to WiFi from command line

Ubuntu Server 20.04: Connect to WiFi from command line

In this tutorial, you will learn how to connect to WiFi from command line on Ubuntu using Netplan. While this method can be used on Ubuntu desktop systems with a GUI, it is especially useful if you’re running a headless Ubuntu 20.04 system like a Raspberry Pi or need to connect to Wifi on Ubuntu Server. Follow along with us below as we connect to a WiFi on command line via SSID and network key.

Read more

Exit code 127 error status in Bash script

Exit code 127 error status in Bash script

Are you receiving a exit code 127 error when trying to execute a Bash script? This means that your Linux system was not able to find the command referenced inside of the script, which could indicate that the path to the command is not valid, or the command is not installed at all. In this tutorial, we’ll explain what causes this “command not found” error and show you how to fix it.

Read more

How to check kernel version on Raspberry Pi

How to check kernel version on Raspberry Pi

Every Linux system – including all Raspberry Pi models with Raspberry Pi OS installed – is running a Linux kernel, which serves as the foundation for a fully packaged operating system. As technology evolves, the Linux kernel receives updates to accommodate new hardware, features, and security patches. These updates grant the Raspberry Pi new abilities, or patch out problems that get reported and fixed with newer kernel versions.

Read more

How to set hostname on Raspberry Pi

How to set hostname on Raspberry Pi

The purpose of this tutorial is to show how to change the system hostname on a Raspberry Pi. The hostname is an important part of your device, as it allows it to be easily identified on the local network. The hostname is also shown in other prominent places throughout the system, such as in the prompt of the command line terminal. This helps make it easy to know which system you are working on if you frequently SSH into your Raspberry Pi and other systems simultaneously.

Read more