Top 25 Raspberry Pi Tips and Tricks You’ll Actually Use
I’ve built a ton of Raspberry Pi setups over the years, but I’ve noticed that most people rarely tweak their Pi beyond the basics (if it works, stop touching it!). Want to make your setup run more smoothly, faster, and smarter? Here are 25 practical tips I’ve got for you.
This article shares 25 practical Raspberry Pi tips and tricks that can improve performance, simplify daily tasks, and unlock advanced features that many users don’t know about.
If you already use your Raspberry Pi regularly and want it to boot faster, stay responsive, survive crashes, or waste less of your time, keep reading. Each tip is short and actionable, and links to a tutorial if you want to go further.
If you’re new to Raspberry Pi or Linux, I’ve got something that can help you right away!
Download my free Linux commands cheat sheet – it’s a quick reference guide with all the essential commands you’ll need to get things done on your Raspberry Pi. Click here to get it for free!
Performance & System Optimization
The first set of tips we discuss in this article focuses on performance and system optimization for your Raspberry Pi. In this section, I will show you how to extract the last drop of performance that your Pi has to offer.
Tip 1: Use Log2RAM to Reduce SD Card Wear and Speed Up Your Pi
Linux-based systems usually make logs in the /var/log directory. By default, this directory is saved on your storage media (HDD, SSD, or SD Card). However, modern storage media have a limited number of read and write operations before they start to fail.
To prevent unnecessary read and write operations on your storage media, Log2RAM creates a mount point at /var/log in RAM (instead of on the storage media). All logs are saved to this mount point and synced to your main storage media (SD Card) daily.

For more details on setting up Log2RAM on your Raspberry Pi, see the in-depth guide titled “Save Your SD Card: Install Log2Ram on Raspberry Pi.“
Log2RAM is a valuable program that helps protect your SD card from unnecessary read and write operations. While the latest Raspberry Pi OS (Trixie) is just starting to include similar functionality by default, Log2RAM can still be invaluable.
Tip 2: Enable zRAM Instead of Traditional Swap
Usually, when your memory gets saturated, Linux-based systems like Raspberry Pi OS move RAM data to swap. The swap is traditionally a partition on your storage media (HDD, SSD, or SD Card), so it’s slower than reading or writing to or from RAM.
Members get an ad-free version of every guide, plus exclusive project support.
Join the Community | Sign In
However, a more recent method for augmenting memory on low-RAM systems is to enable zRAM. zRAM is a Linux kernel feature that creates a compressed RAM block and uses it as swap space.

Enabling zRAM instead of a traditional swap partition shifts the load from your memory or storage media to your processor. Since the processor now needs to compress and decompress data before writing it to the zRAM swap.
If you want to learn more about RAM on your Raspberry Pi and how you can optimize it, read this in-depth guide titled “Can You Add RAM to a Raspberry Pi?.”
zRAM is now a default component of the latest Raspberry Pi OS (Trixie). However, if you’re running an older release, especially if your Pi’s onboard RAM is less than 4GB, enabling zRAM can significantly improve memory performance.
You might also like: Don’t waste money — read this guide before picking your Raspberry Pi.
Tip 3: Overclock Safely Using the Built-In Raspberry Pi Tools
The Raspberry Pi’s processor, like most modern CPUs, operates at a lower clock speed than its maximum to improve performance stability.
However, this setting is not locked, and if you want to squeeze more performance out of your Raspberry Pi, you can adjust the operating clock speeds of its processor and GPU.
Overclocking means pushing the CPU (and optionally the GPU) slightly beyond its stock frequency. On a Raspberry Pi 4, for example, you can often increase the CPU frequency from 1.5 GHz to 2.0 GHz or higher without issues.

To read more about overclocking and how to speed up your Raspberry Pi, check out Step 4 of this guide titled “7 Easy Steps to Speed Up Your Raspberry Pi Desktop.“
While overclocking can raise the performance ceiling of your Raspberry Pi CPU, it also requires a proper cooling setup. Overclocking without adequate cooling to prevent thermal throttling can be counterproductive.
Tip 4: Disable Unused Services to Free Up Resources
Although Raspberry Pi OS is already an extremely lean system, different people prioritize different services and applications. Many application-related services might not be important to you.
Therefore, it is wise to carefully monitor and review all enabled and running services, and disable those that are not relevant to your use case. You can use tools like htop to monitor what services are consuming resources of your Raspberry Pi.

You can also use systemctl to monitor and manage what services are enabled and running on your Raspberry Pi OS.

To see a list of services that are enabled by default on Raspberry Pi and can be safely disabled to improve performance, check out Step 1 of this article titled “7 Easy Steps to Speed Up Your Raspberry Pi Desktop.“
Disabling unused services is a great way to free up system resources they consume. Additionally, it helps you understand what is running on your system, enabling you to configure it as per your preferences.
Tip 5: Boot Faster by Switching to 64-bit Raspberry Pi OS
Raspberry Pi OS is available in multiple flavors, such as Desktop, Lite, and Full. However, each flavour is also available in two variants: 32-bit and 64-bit. In practice, there’s little difference between the two, except that a few applications might support only one or the other.
The most significant difference, however, lies in performance. Since the 64-bit Raspberry Pi OS leverages the full capabilities of your CPU and memory by using 64-bit registers and commands, it significantly outperforms the 32-bit variant.

For an in-depth comparison between Raspberry Pi OS 64-bit and 32-bit, check out our article: Raspberry Pi OS 64-bit vs 32-bit. If you don’t know how to switch from a 32-bit to a 64-bit system, see this guide on installing Raspberry Pi OS Trixie on a Raspberry Pi.
By default, if you have no specific reason to install a 32-bit OS (e.g., a particular application you need that isn’t supported on 64-bit), I highly recommend always using the 64-bit Raspberry Pi OS.
Check this: Don't buy a new SD card until your read this.
Tip 6: Move Your Root Filesystem to USB or SSD
Traditionally, most people use their Raspberry Pi with an SD card containing the root filesystem. However, while SD cards are convenient, they are not necessarily the fastest option.
While a good SD Card can deliver read/write speeds of up to 200 MB/s, a PCIe 5.0 NVMe SSD can provide up to 12,000 MB/s. Although a Raspberry Pi can’t hit those theoretical top speeds, a faster SSD will still make a world of difference.
While the Raspberry Pi 5 includes a PCIe 2.0 slot, it cannot be used to connect to your NVMe SSD directly. To do this, you will need to use a case that supports NVMe or add a HAT.
Download the free PDF, keep it open, and stop wasting time on Google.
Download now

To learn more about all the options available on how to install and boot Raspberry Pi from an NVMe SSD, check out this article titled “How to Use an NVMe SSD on Raspberry Pi (step-by-step guide).”
You don’t need to install a new Raspberry Pi OS on your SSD; you can migrate your existing data from your SD Card to the new SSD. However, I recommend a fresh install of Raspberry Pi OS to avoid complications.
Another option to the default SD Card is to use a USB drive to store your Raspberry Pi’s root file system. The Raspberry Pi can also boot directly from a USB. However, the performance gains in this case are only marginally better.
Shifting your Raspberry Pi from an SD Card to an NVMe SSD or a USB drive will be the single most significant performance boost in your day-to-day experience. The most common bottleneck in Raspberry Pi processing capability is often the SD Card.
Command-Line Power Moves
Now, let’s focus on tips for the command-line interface (CLI). When using Raspberry Pi OS or any other Linux-based operating system, we often spend significant time working in the CLI. In this section, we will explore ways to enhance your Raspberry Pi CLI experience.
Tip 7: Create Custom Bash Aliases for Commands You Use Daily
Linux commands can be lengthy and complex, and difficult to memorize. However, using Aliases can simplify your daily workflow on the Raspberry Pi.
Aliases are, as the name suggests, nicknames for commands that, when called from the Linux CLI, execute the full command they link to. For example, instead of running the full command:sudo apt update && sudo apt full-upgrade -y
You can create an alias named “update,” and next time, whenever you type update in your CLI, it will automatically run the complete command to update and upgrade your system fully.
Aliases can be defined using a simple alias command, but to make them persistent, you need to add this command to the end of your ~/.bashrc file.

To learn more about aliases and some recommendations on aliases to set up, see our in-depth guide: Linux Aliases You Should Set Up Right Now. Also, if you’re looking for inspiration to come up with your own aliases, check out 57 Raspberry Pi Commands You Should Know.
Aliases are a helpful way to enhance your Raspberry Pi command line interface experience. They make complex commands easier to remember by providing simpler, more logical alternatives that are quicker to type.
Quick note: If you find it hard to remember all these commands, I’ve put them all on a one-page cheat sheet. You can download it for free here so you have it handy whenever you're working on a project.
Tip 8: Use tmux to Manage Multiple Terminal Sessions
Tmux, as the name suggests, is a terminal multiplexer; it is an application/ tool that runs between your shell and your terminal emulator. It forms a disconnect between your current terminal emulator session and your shell.
The advantage of tmux is that you can run multiple simultaneous shell sessions within a single terminal emulator session:

A key benefit of this is that your shell session isn’t tied to your terminal emulator. You can close it, and the shell will keep running in the background, allowing you to reconnect later with a new terminal session.
Tmux is an excellent application for enhancing your Raspberry Pi terminal experience. While there are alternatives such as Screen, I personally prefer tmux. If you’re like me, it’s a must-have tool.
To learn more about tmux and other aesthetic improvements to your terminal experience, find out 7 Ways to Make Your Linux Terminal Look Awesome. If you’re looking for more productivity-focused terminal improvements, you can also check out 11 Little-Known Terminal Tricks Every Linux User Should Try.
Tip 9: Monitor System Resources with htop (Not top)
Typically, on Raspberry Pi, the top program is used to monitor system resources. It comes pre-installed with Raspberry Pi OS, is lightweight, and performs system monitoring perfectly.
However, htop is an alternative that significantly enhances the productivity and user-friendliness of top. It provides a similar interface, albeit much more visually appealing and clearer than the top.

You can check out this guide on Raspberry Pi performance monitoring tools to learn how to install htop and similar alternatives.
Alternatively, if you want something even more aesthetically pleasing while sacrificing some productivity, consider the tool btop mentioned in our article 7 Ways to Make Your Linux Terminal Look Awesome.

A good task manager application is key to effective system administration. While the default tool top is suitable for most use cases, upgrading to a tool like htop can significantly improve your productivity.
Tip 10: Run Long Tasks Safely with nohup or screen
One frustrating issue when working remotely on a Raspberry Pi is losing long-running tasks when the terminal session ends, often due to network drops, your laptop going to sleep, or accidentally closing the terminal.
By default, when your terminal session ends, any command running in it is terminated as well. This is where tools like nohup and screen become extremely useful.
The simplest option is nohup. It allows you to run a command that continues executing even after you disconnect from the terminal. For example, you can start a script, close your SSH session, and the task will continue running in the background, with its output written to a log file.

For more interactive use cases, a screen (or tmux, as discussed earlier) is a better choice.
Screen lets you create persistent terminal sessions that you can detach from and reattach to later. This is ideal when running installers, compiling software, or monitoring scripts that take a long time to finish.

Using nohup or screen is a small habit change, but it can save you time and frustration—especially if you manage your Raspberry Pi over SSH or frequently run long or unattended tasks.
Tip 11: Schedule Maintenance Tasks with cron
Cron is a service that runs on system startup and allows users to execute commands or scripts at regular intervals. Every minute, cron checks whether any task is scheduled to run; if so, it executes it.
To schedule a task or script with cron, use the crontab file. Crontab allows you to list all scheduled tasks and their execution intervals in a single configuration file.

There is a specific syntax for defining the schedule interval in crontab.
Download the free PDF, keep it open, and stop wasting time on Google.
Download now

For a more detailed guide on how cron works and a step-by-step guide on how to configure it, check out our guide: How to Schedule a Task on a Raspberry Pi. You can even use cron to schedule automated backups with rsnapshot.
Using cron to schedule automated tasks effectively simplifies repetitive workflows. It manages your tasks, allowing you to focus on what matters.
Tip 12: Find Out What’s Eating Disk Space with ncdu
On a Raspberry Pi, managing disk space can be challenging, especially when smaller SD cards limit storage. This constraint can cause system freezes or prevent the installation of new programs due to insufficient disk space.
However, we can use tools like ncdu to monitor and manage disk space from a single command line. ncdu allows you to visualize your files; it displays a sorted list of the largest files in the folder, and you can select and press d to delete any files.

For more tips on how to manage your disk space and an in-depth tutorial on how to use ncdu, you can read this article titled “How to Manage Disk Space on Linux Like a Pro.”
Managing disk space is a crucial aspect of system administration, and tools like ncdu greatly simplify this process. While tools such as du offer similar functionality, the user-friendliness and intuitiveness of ncdu make it an appealing alternative.
Tip 13: Redirect Output to Logs Like a Pro
When running commands or scripts on a Raspberry Pi, output is usually printed directly to the terminal. While this is fine for quick tasks, it quickly becomes impractical for long-running commands, background jobs, or anything you might want to debug later.
Linux allows you to redirect command output to files, making it easy to create log files for almost any task. This is especially useful when combined with tools like nohup, cron jobs, or custom scripts.
For example, instead of running a command normally, you can redirect its output to a log file:some-command > output.log
By default, this only captures standard output. To also capture errors, you can redirect both standard output and standard error:some-command > output.log 2>&1

Once redirected, logs can be inspected later using tools like cat, less, or tail -f. This makes troubleshooting much easier, as you can see exactly what happened without needing to keep the terminal open.
If you want a deeper explanation of input/output redirection and common patterns you’ll encounter on Linux systems, take a look at this Linux commands cheat sheet, which covers redirection operators and other beneficial CLI basics.
Redirecting output to logs is a small habit that pays off quickly. It keeps your terminal clean, makes background tasks easier to manage, and gives you a reliable way to debug issues when something doesn’t go as expected.
Productivity & Quality-of-Life Enhancements
In this section, we will focus on tips that improve your productivity. We will cover tips for installing software on your Raspberry Pi and backing it up. We will also mention additional QoL enhancement tips.
Tip 14: Install Software Easily with Pi-Apps
We typically use the apt package manager on our Raspberry Pi to install applications. However, not all programs are available in the official repositories, so we may need to follow complex instructions or download installation scripts for those.
You might also like: The 5 fastest web browsers for Raspberry Pi — tested and ranked!
Pi-Apps is an app store designed specifically for Raspberry Pi. It contains numerous applications that are sometimes not available in the official repositories. Installing applications through Pi-Apps is as simple as searching for the application by name and clicking Install.

For a more detailed and in-depth tutorial on how to install Pi-Apps on your Raspberry Pi, check out this article, in which we used Pi-Apps to install Minecraft on our Raspberry Pi. Also, you might be interested in this article that lists 9 amazing Raspberry Pi apps that you probably didn’t know existed.
Pi-Apps is a fantastic tool that simplifies installing various applications on your Raspberry Pi. It turns complex installation processes into a straightforward one-click solution. I highly recommend keeping it on hand for when you need to install applications easily.
Tip 15: Use rclone to Sync Your Pi with Cloud Storage
It is essential to have an effective backup strategy to keep your Raspberry Pi data synchronized. A good sync and backup plan can save you considerable trouble in case of data loss.
Rclone is a tool for syncing data to any cloud storage provider. It supports multiple cloud storage providers, including Google Drive, Dropbox, and OneDrive.

You can even choose to sync encrypted data with rclone. This ensures that only you can access and read the data you have synced with your service provider (even the service provider itself cannot access the data).

To see a more in-depth tutorial on how to set up Rclone to back up your Raspberry Pi data, check out this step-by-step guide on How to Backup Your Raspberry Pi to the Cloud with rclone.
You might also like: Pi5 vs. Pi4: I tested them, here's the result
I also recommend reading the articles Top 10 Raspberry Pi Backup Tips to Keep Your Data Safe and 5 Best Ways to Back Up Your Raspberry Pi, which will help you develop an effective backup strategy for your Raspberry Pi.
Rclone is an excellent tool for syncing data with various cloud storage providers. You can significantly decrease the storage space required on your Raspberry Pi and help prevent data loss in the event of hardware failure.
Tip 16: Turn Your Pi into a Personal Dashboard or Status Screen
There are several cool projects that you can make with your Raspberry Pi. One of the more productive project ideas is to turn your Raspberry Pi into a personal dashboard or status screen that displays all your smart devices in a central hub.
There are several ways to approach it. One of the simplest techniques is to turn your Raspberry Pi into a magic mirror that displays weather and calendar information, along with Google Assistant, on a local monitor or mirror.

To see a complete step-by-step guide on how to make your own magic mirror using Raspberry Pi, you can follow this guide titled “Magic Mirror on Raspberry Pi: Complete Installation Guide.”
Alternatively, if you are looking for something more productive and to monitor smart devices at home, or to use your Raspberry Pi as the central hub for monitoring multiple servers you run, you can also use web-based dashboard solutions.

To check out different dashboard applications that can be run on your Raspberry Pi, you can read this article titled 7 Ways to Monitor Your Raspberry Pi Without the Terminal.
Download the free PDF, keep it open, and stop wasting time on Google.
Download now
You might also like: I've tested hundreds of Linux apps, here are the ones I recommend.
Transforming your Raspberry Pi into a personal dashboard that displays essential information at a glance is a fantastic project idea and use case for the device. Even if you don’t intend for it to be the main function, you can still run web-based dashboard applications in the background.
Tip 17: Auto-Mount Network Shares at Boot
If you use your Raspberry Pi with a NAS, another Linux server, or a shared folder on your network, manually mounting that share every time quickly becomes tedious.
By default, network shares mounted from the command line are lost after a reboot, which can break scripts, backups, or services that depend on them.
Linux allows you to configure network shares so they are mounted automatically at boot. This is commonly done by adding an entry to the /etc/fstab file. Once configured, the share becomes available as a local directory once the Raspberry Pi finishes booting.

Auto-mounting network shares is especially useful for backups, media libraries, dashboards, or any setup where files are stored centrally. Scripts and applications can then rely on fixed paths without worrying about whether the share is mounted.
If you want a step-by-step explanation of how network mounts work and how to configure them properly on Raspberry Pi OS, check our guide, How to Turn a Raspberry Pi into a File Server, which covers common network file systems and persistent mounts.
You can also read this guide on the mount command to understand how mounting and unmounting work in Linux.
Automatically mounting network shares at boot removes one more manual step from your workflow. Once set up correctly, it’s a “configure once and forget” improvement that makes your Raspberry Pi behave much more like a full-featured server.
Tip 18: Use Keyboard Shortcuts in Raspberry Pi OS Desktop
When using Raspberry Pi OS in desktop mode, most people rely heavily on the mouse. While this works fine, it’s often slower than necessary. Learning a handful of keyboard shortcuts can make everyday tasks noticeably quicker.
Raspberry Pi OS uses a lightweight LXDE-based desktop environment that includes several useful shortcuts enabled by default. For example, Alt + Tab lets you quickly switch between open windows, while Alt + F4 closes the active window without reaching for the mouse.
If you use the terminal often, a few shortcuts are worth memorizing. Ctrl + Alt + T opens a new terminal instantly. Inside the terminal, Ctrl + Shift + C and Ctrl + Shift + V allow you to copy and paste commands, and the Up arrow lets you reuse previously executed commands.
To see a complete list of all the keyboard shortcuts available in the Linux terminal, see this guide on 13 Linux Terminal Shortcuts You’ll Wish You Knew Earlier.
File management also becomes faster with shortcuts. In the file manager, Ctrl + L jumps directly to the address bar, F5 refreshes the current directory, and Shift + Delete permanently removes files without sending them to the trash.
Keyboard shortcuts might seem like a small optimization, but once you get used to them, they quickly become second nature. They reduce mouse usage, speed up navigation, and make the Raspberry Pi desktop feel much more responsive.
Tip 19: Quickly Clone and Restore SD Cards with dd or Pi Imager
If, like me, you have to work with multiple Raspberry Pi projects at a time, it can get tricky to keep track of all the different SD Cards. What is much simpler is to convert SD Cards to images you can easily and quickly restore whenever you need.
Images are much easier to manage; you can keep them saved and labelled adequately in portable or cloud storage.
You can use any disk image tool, such as Win32 Disk Imager or Balena Etcher, to create the image. The most helpful tool I found for quickly generating reliable images is dd, available on Linux.

There are numerous other methods for cloning your SD Card. Check out this tutorial that lists three different approaches to cloning your Raspberry Pi SD Card.
Besides providing an efficient database for all your Raspberry Pi Images, cloning your SD Card can be a good method in your backup strategy. Check out this article on five ways to back up your Raspberry Pi, which includes using the built-in SD Card Copier and dd to create an image file.
Mastering dd and Pi Imager to create and restore images on your Raspberry Pi quickly is a handy skill every Raspberry Pi enthusiast needs. Besides being the most reliable backup strategy, it also helps you properly organize all your different Raspberry Pi projects.
Stuck on this project? Ask me or other Pi users in the RaspberryTips Community. We help each other out and you'll get answers quick. Join and fix it together.
Security, Stability & Advanced Use Cases
For our final six tips, we will focus on the security and stability of your Raspberry Pi. In today’s internet era, ensuring the privacy and security of your system is crucial. Investing a little effort in this area can significantly help keep your home network secure.
You might also like: Need a clear GPIO pinout diagram? Here's mine.
Tip 20: Harden SSH with Key-Based Authentication
Usually, when you connect to your Raspberry Pi over SSH, you’ll be prompted for your user password. This method of logging into your Raspberry Pi is not only inconvenient but also somewhat unsafe, since anyone with your login credentials can access it.
However, there is an alternative method that is much more convenient and generally considered safer. We can enable key-based authentication on our Raspberry Pi and store your PC’s SSH Keys on it.

To learn how to generate your PC’s SSH Keys and how to save and register them in your Raspberry Pi, read our guide: What is the SSH Password for Raspberry Pi? Towards the end of this article, the whole procedure is mentioned in detail.
Shifting from password-based to key-based SSH authentication on your Raspberry Pi offers significant convenience, especially if you routinely access multiple Raspberry Pis via SSH. Besides being a convenient solution, disabling password-based authentication on your Raspberry Pi also significantly improves system security.
Tip 21: Use fail2ban to Block Brute-Force Attacks
If all someone needs to access your Raspberry Pi – and consequently your home network – is a single password, then this type of setup is vulnerable to a brute-force attack where the attacker attempts multiple passwords in quick succession until they find the correct password.
To mitigate this vulnerability on your network, use an application such as fail2ban.Fail2ban is an intrusion-detection tool that scans system log files for patterns of malicious activity.
For example, it can check the SSH log file to identify failed login attempts and then block those IP addresses in your firewall. Everything is automated.
And it’s not just for SSH. You can detect intrusion on any service, like Apache, Postfix, or Asterisk.
If there’s a log file where you can spot attacks, you can manage it with Fail2Ban.

To learn more about fail2ban and how to install and configure it on your Raspberry Pi, check out this in-depth tutorial on how to install fail2ban on your Raspberry Pi.
Download the free PDF, keep it open, and stop wasting time on Google.
Download now
Fail2ban supports a wide range of services and has a strong community that can help you configure it for different services/ applications. If you are using a Raspberry Pi with continuous internet access, fail2ban is a must-have application.
While fail2ban is not a complete or perfect defence against all possible attack vectors, it is much better than having no protection at all.
Tip 22: Run Multiple Services Cleanly with Docker
As your Raspberry Pi setup grows, it’s common to end up running several services at once: a web app, a database, a dashboard, a backup tool, or maybe a DNS server. Installing everything directly on Raspberry Pi OS works, but it can get messy.
Docker solves this problem by running each service in its own isolated container. Each container includes everything the service needs to run, without interfering with the rest of the system. From the Raspberry Pi’s point of view, it’s just running a few well-contained processes.
Using Docker makes it much easier to manage multiple services on the same Raspberry Pi. You can start, stop, update, or remove a service with a single command, without worrying about leftover files or broken dependencies.

If you want to learn how to install Docker and run your first containers on Raspberry Pi OS, see our guide to Getting Started With Docker on Raspberry Pi, which walks through installation and basic usage step by step.
Docker also shines when combined with Docker Compose. Instead of manually starting services, you define them in a simple configuration file. This makes your setup reproducible and easy to migrate to another Raspberry Pi or restore after a fresh OS install.
Finally, check out 11 Docker Projects Every Raspberry Pi Owner Should Try for some inspiration on what you can do with Docker and Raspberry Pi.
Running services with Docker keeps your Raspberry Pi clean, predictable, and easy to maintain. Once you start using it for multi-service setups, it’s hard to go back to installing everything directly on the host system.
Tip 23: Use watch to Monitor Commands Continuously
When troubleshooting a system, it’s common to run the same command repeatedly to check for changes. This can become tedious, whether you’re monitoring disk usage, memory consumption, or a service’s status.
The watch command solves this by running another command at regular intervals and automatically updating the output. Instead of re-running a command manually, watch refreshes the display for you, making it easy to spot changes in real-time.
For example, you can monitor memory usage with:watch free -h
Or keep an eye on disk space:watch df -h

This is especially useful on a Raspberry Pi when testing performance tweaks, debugging services, or monitoring long-running tasks. You can immediately see how your system responds without opening multiple terminals or writing scripts.
If you want to learn more about useful command-line tools for monitoring your Raspberry Pi, check out this guide on monitoring Raspberry Pi performance.
watch is a small tool, but once you start using it, it becomes a natural part of your troubleshooting workflow. It saves time, keeps your terminal focused, and gives you a live view of what’s happening on your system.
Tip 24: Automatically Recover from Crashes with systemd Restart Rules
On the Raspberry Pi, services are managed by systemd. Services are background processes that enable your Raspberry Pi to perform various tasks, such as the network manager, which manages network connectivity.

By default, if you create a systemd service and start it, it will keep running until a critical error occurs. However, if a critical error occurs, the service stops, and you must restart it manually.
However, if you want the service to restart automatically on failure, you can configure it in the service file. For example:
[Service]
ExecStart=/usr/bin/python3 /home/pi/app.py
Restart=on-failure
RestartSec=5
To learn more about how to manage system services using systemd, check out this in-depth guide on the Linux command systemctl.
The auto-restart option for services can be critical for outdoor/off-the-grid projects where you cannot always be on-site to address software failures. It is also a great feature that ensures all required services are running.
Tip 25: Turn Your Pi into a Network-Wide Tool (DNS, VPN, Monitor)
By this point, your Raspberry Pi should be fast, stable, and secure. Once you reach that stage, it becomes a perfect candidate for something more potent than a single-purpose device: a network-wide service that benefits every device on your network.
You can use your Raspberry Pi as a shared resource instead of running tools on a single computer. For example, setting up a local DNS server with tools like Pi-hole or AdGuard Home allows you to block ads and trackers across your entire network, including phones and smart TVs.

If you’re curious about this approach, this guide on running AdGuard Home on Raspberry Pi compares it with Pi-hole and walks through the setup step by step.
Another common and extremely useful use case is turning your Raspberry Pi into a VPN gateway. This allows you to securely connect back to your home network when you’re away, giving you access to internal services without exposing them directly to the internet.

If this sounds useful, check out this easy guide to setting up a VPN gateway on a Raspberry Pi, which explains the process in a beginner-friendly way.
Monitoring is another area where a Raspberry Pi shines. Instead of logging into each machine individually, you can use your Pi as a central monitoring hub. Tools like Cockpit provide a clean web interface to monitor system performance, disk usage, services, and logs.
Transform your Raspberry Pi into a powerful network tool by adding just a few hardware components. This setup enhances security, visibility, and convenience throughout your network. Once configured, these services run quietly in the background, making your Raspberry Pi invaluable.
A Raspberry Pi doesn’t need to be overcomplicated to be powerful. Minor, thoughtful tweaks like those in this article add up quickly, turning a basic setup into something faster, more reliable, and much easier to live with day-to-day.
You don’t need to apply every tip at once. Pick the ones that match how you use your Raspberry Pi, bookmark the rest, and return when you’re ready. A well-optimized Pi is one you can trust to do its job in the background quietly.
Whenever you’re ready, here are other ways I can help you:
Test Your Raspberry Pi Level (Free): Not sure why everything takes so long on your Raspberry Pi? Take this free 3-minute assessment and see what’s causing the problems.
The RaspberryTips Community: Need help or want to discuss your Raspberry Pi projects with others who actually get it? Join the RaspberryTips Community and get access to private forums, exclusive lessons, and direct help.
Master your Raspberry Pi in 30 days: If you are looking for the best tips to become an expert on Raspberry Pi, this book is for you. Learn useful Linux skills and practice multiple projects with step-by-step guides.
Master Python on Raspberry Pi: Create, understand, and improve any Python script for your Raspberry Pi. Learn the essentials step-by-step without losing time understanding useless concepts.
You can also find all my recommendations for tools and hardware on this page.
