A
Alexandra Belski
Guest
Have you ever seen those hacker scenes in movies and thought, “I wish I could do the same”? Actually, you don’t need to hack into the Pentagon to look cool at a computer. Some tricks are surprisingly easy to pull off. A few commands, and your laptop starts looking like something out of a sci-fi movie.
Here are five fun tricks you can try on macOS, Windows, or Linux. And don't worry, you don't need to be a programmer to follow along.
The next time a program freezes, there’s a much cooler solution than desperately clicking around and tearing your hair out. You can terminate the frozen app directly from the terminal—which, let’s be real, feels like you’re in charge.
Let's say Google Chrome has frozen.
First, open your terminal. Find its process using:
You'll see a list of running processes, including their process IDs, or PIDs.
Once you've found the PID of the frozen app, run:
Replace
This asks the app to shut down.
If the application refuses to close, there's a more aggressive option:
The
Use it only as a last resort because the application won't get a chance to save its work or clean up.
Open PowerShell and find the application:
Then terminate the specific process using its PID:
If it refuses to close, you can force it:
Be careful to select the correct process. Browsers often run multiple processes, and terminating the wrong one can close tabs or interrupt work.
Hacker points earned!
Most of us have boring screensavers.
But imagine walking away from your computer and watching a spaceship dashboard, a cyberpunk city, orIron Man Lab your own hacker screen appear.
Much better, right?
This trick swaps one of Apple’s downloaded screensaver videos for a video saved on your computer.
First, open System Settings → Screen Saver, choose an animated aerial screensaver, and wait for it to download.
Next, locate its downloaded video file in Finder. Save a backup of the original, then give your own compatible video the same filename—including the extension—and replace the downloaded file. You may be asked to authenticate as an administrator.
Select that screensaver again in Settings. The option still looks like Apple’s original, but it now plays your video.
One catch: this is an unofficial workaround from the Sonoma era. Later macOS updates may block it or change where the files are stored, and playback can be unreliable.
Windows doesn't natively offer a general-purpose option for setting an MP4 file as a screensaver.
One approach is to use a third-party video screensaver utility that supports Windows 10 or 11.
After installing a trusted utility, configure your video file and open the Windows screensaver settings.
Press
Select the installed screensaver and set the idle timeout.
You can also use animated wallpaper software for a similar effect, although an animated wallpaper isn't technically a screensaver.
Linux offers more flexibility, although the setup depends on your desktop environment and whether you're using X11 or Wayland.
On X11, a tool such as
For example, after installing compatible versions of
This is a video wallpaper rather than a true idle-triggered screensaver. You would need additional idle detection and lock-screen integration to reproduce the full screensaver behavior.
Remember the green characters falling down the screen in The Matrix? Easy and no hacking skills required.
There's a tiny program
If you have Homebrew installed, open Terminal and run:
Once it's installed, type:
That's it.
Your terminal is now filled with falling green characters. If you haven’t installed Homebrew yet, then you’ll need to start from there.
For Ubuntu or Debian:
For Fedora:
Then launch it:
The easiest way to run the original
If WSL isn't installed, open PowerShell as administrator and run:
Follow the setup instructions and restart if prompted.
Open your installed Ubuntu environment and run:
Now you have the same Matrix effect running inside Windows Terminal.
The original
Cmatrix+1
You can customize the effect.
Want red characters instead of green?
Want blue?
Want bold characters?
Want the animation to stop when you press a key?
Press
Does it actually do anything useful? Absolutely not.
Does it look amazing? Yes!
Okay, this one is actually useful. With one command, you can turn your terminal into a dashboard showing your CPU usage, memory consumption, network traffic, and running processes—all in real time.
Open Terminal and install it with Homebrew:
Then run:
Your terminal transforms into an interactive dashboard.
For Ubuntu or Debian:
For Fedora:
Then:
The official project provides packages for several Linux distributions and macOS.
The main
Open your Ubuntu terminal inside Windows and type:
You'll get the same interface, but the statistics will primarily reflect your WSL environment rather than Windows as a whole.
Once
You can navigate the interface using your keyboard or mouse, depending on your terminal.
Press
Here's a fun experiment.
Open
This might be my favorite trick because it makes your computer personal.
Imagine opening your terminal and typing:
And suddenly your computer displays:
You can actually build this yourself.
We'll create a custom command called
First, open your shell configuration file.
On modern macOS, the default shell is usually Zsh:
On many Linux distributions, the default shell is Bash:
At the bottom of the file, add:
Save the file using
Now reload your shell configuration.
For Zsh:
For Bash:
Finally, type:
Your custom welcome message appears, waits two seconds, and launches
Of course, you'll need to have
You can create a similar command using PowerShell functions.
First, open PowerShell and type:
If PowerShell says the profile's directory doesn't exist, create it first:
Then open the profile file again. Create the file if Notepad asks.
Add the following function:
Save the file and open a new PowerShell window.
Now type:
Your custom command will display the welcome message and list processes with the highest accumulated CPU time.
You don't have to stop at
You can create commands for almost anything.
For example, on macOS or Linux, you could create a function that launches the Matrix animation:
Add it to your shell configuration and reload the file.
Now all you need to type is:
And your entire terminal transforms into the Matrix.
Here are five fun tricks you can try on macOS, Windows, or Linux. And don't worry, you don't need to be a programmer to follow along.
1. Kill a Frozen App From Terminal
The next time a program freezes, there’s a much cooler solution than desperately clicking around and tearing your hair out. You can terminate the frozen app directly from the terminal—which, let’s be real, feels like you’re in charge.
On macOS and Linux
Let's say Google Chrome has frozen.
First, open your terminal. Find its process using:
Code:
ps aux | grep -i chrome
You'll see a list of running processes, including their process IDs, or PIDs.
Once you've found the PID of the frozen app, run:
Code:
kill 12345
Replace
12345 with the actual PID.This asks the app to shut down.
If the application refuses to close, there's a more aggressive option:
Code:
kill -9 12345
The
-9 forces the operating system to terminate the process immediately.Use it only as a last resort because the application won't get a chance to save its work or clean up.
On Windows
Open PowerShell and find the application:
Code:
Get-Process chrome
Then terminate the specific process using its PID:
Code:
Stop-Process -Id 12345
If it refuses to close, you can force it:
Code:
Stop-Process -Id 12345 -Force
Be careful to select the correct process. Browsers often run multiple processes, and terminating the wrong one can close tabs or interrupt work.
Hacker points earned!
2. Use a Video as Your Screensaver
Most of us have boring screensavers.
But imagine walking away from your computer and watching a spaceship dashboard, a cyberpunk city, or
Much better, right?
On macOS Sonoma
This trick swaps one of Apple’s downloaded screensaver videos for a video saved on your computer.
First, open System Settings → Screen Saver, choose an animated aerial screensaver, and wait for it to download.
Next, locate its downloaded video file in Finder. Save a backup of the original, then give your own compatible video the same filename—including the extension—and replace the downloaded file. You may be asked to authenticate as an administrator.
Select that screensaver again in Settings. The option still looks like Apple’s original, but it now plays your video.
One catch: this is an unofficial workaround from the Sonoma era. Later macOS updates may block it or change where the files are stored, and playback can be unreliable.
On Windows
Windows doesn't natively offer a general-purpose option for setting an MP4 file as a screensaver.
One approach is to use a third-party video screensaver utility that supports Windows 10 or 11.
After installing a trusted utility, configure your video file and open the Windows screensaver settings.
Press
Win + R and enter:
Code:
control desk.cpl,,@screensaver
Select the installed screensaver and set the idle timeout.
You can also use animated wallpaper software for a similar effect, although an animated wallpaper isn't technically a screensaver.
On Linux
Linux offers more flexibility, although the setup depends on your desktop environment and whether you're using X11 or Wayland.
On X11, a tool such as
xwinwrap can be combined with a video player to create a looping video background.For example, after installing compatible versions of
xwinwrap and mpv, a command along these lines can display a looping video on the desktop:
Code:
xwinwrap -fs -ni -b -nf -ov -- \
mpv --wid=WID --loop-file=inf \
--no-audio video.mp4
This is a video wallpaper rather than a true idle-triggered screensaver. You would need additional idle detection and lock-screen integration to reproduce the full screensaver behavior.
3. Enter the Matrix
Remember the green characters falling down the screen in The Matrix? Easy and no hacking skills required.
There's a tiny program
cmatrix that does exactly this.On macOS
If you have Homebrew installed, open Terminal and run:
Code:
brew install cmatrix
Once it's installed, type:
Code:
cmatrix
That's it.
Your terminal is now filled with falling green characters. If you haven’t installed Homebrew yet, then you’ll need to start from there.
On Linux
For Ubuntu or Debian:
Code:
sudo apt install cmatrix
For Fedora:
Code:
sudo dnf install cmatrix
Then launch it:
Code:
cmatrix
On Windows
The easiest way to run the original
cmatrix is through Windows Subsystem for Linux (WSL).If WSL isn't installed, open PowerShell as administrator and run:
Code:
wsl --install
Follow the setup instructions and restart if prompted.
Open your installed Ubuntu environment and run:
Code:
sudo apt update
sudo apt install cmatrix
cmatrix
Now you have the same Matrix effect running inside Windows Terminal.
The original
cmatrix is designed for Unix-like systems, so WSL is a convenient way to use it on Windows.Cmatrix+1
Make it even cooler
You can customize the effect.
Want red characters instead of green?
Code:
cmatrix -C red
Want blue?
Code:
cmatrix -C blue
Want bold characters?
Code:
cmatrix -b
Want the animation to stop when you press a key?
Code:
cmatrix -s
Press
Ctrl + C to exit normal mode.Does it actually do anything useful? Absolutely not.
Does it look amazing? Yes!
4. Turn Your Terminal Into a Control Center
Okay, this one is actually useful. With one command, you can turn your terminal into a dashboard showing your CPU usage, memory consumption, network traffic, and running processes—all in real time.
On macOS
Open Terminal and install it with Homebrew:
Code:
brew install btop
Then run:
Code:
btop
Your terminal transforms into an interactive dashboard.
On Linux
For Ubuntu or Debian:
Code:
sudo apt install btop
For Fedora:
Code:
sudo dnf install btop
Then:
Code:
btop
The official project provides packages for several Linux distributions and macOS.
On Windows
The main
btop application doesn't run natively on Windows, but you can run its Linux version through WSL.Open your Ubuntu terminal inside Windows and type:
Code:
sudo apt update
sudo apt install btop
btop
You'll get the same interface, but the statistics will primarily reflect your WSL environment rather than Windows as a whole.
What are you actually looking at?
Once
btop launches, you'll see several panels.- CPU: How hard your processor is working.
- Memory: How much RAM your computer is using.
- Network: How much data is being uploaded and downloaded.
- Processes: Which applications are consuming your computer's resources.
You can navigate the interface using your keyboard or mouse, depending on your terminal.
Press
q to quit.Here's a fun experiment.
Open
btop, then launch a few applications or play a high-resolution video. Watch how the graphs change in real time.5. Create Your Own Commands
This might be my favorite trick because it makes your computer personal.
Imagine opening your terminal and typing:
Code:
mission
And suddenly your computer displays:
Code:
================================
WELCOME BACK, AGENT
================================
SYSTEM STATUS: ONLINE
MISSION STATUS: CLASSIFIED
Initializing control center...
You can actually build this yourself.
On macOS and Linux
We'll create a custom command called
mission.First, open your shell configuration file.
On modern macOS, the default shell is usually Zsh:
Code:
nano ~/.zshrc
On many Linux distributions, the default shell is Bash:
Code:
nano ~/.bashrc
At the bottom of the file, add:
Code:
mission() {
clear
echo "================================"
echo " WELCOME BACK, AGENT"
echo "================================"
echo ""
echo "SYSTEM STATUS: ONLINE"
echo "MISSION STATUS: CLASSIFIED"
echo ""
echo "Initializing control center..."
sleep 2
btop
}
Save the file using
Ctrl + O, press Enter, and exit with Ctrl + X.Now reload your shell configuration.
For Zsh:
Code:
source ~/.zshrc
For Bash:
Code:
source ~/.bashrc
Finally, type:
Code:
mission
Your custom welcome message appears, waits two seconds, and launches
btop.Of course, you'll need to have
btop installed from the previous trick.On Windows
You can create a similar command using PowerShell functions.
First, open PowerShell and type:
Code:
notepad $PROFILE
If PowerShell says the profile's directory doesn't exist, create it first:
Code:
New-Item -ItemType Directory -Force `
-Path (Split-Path $PROFILE)
Then open the profile file again. Create the file if Notepad asks.
Add the following function:
Code:
function mission {
Clear-Host
Write-Host "================================"
Write-Host " WELCOME BACK, AGENT"
Write-Host "================================"
Write-Host ""
Write-Host "SYSTEM STATUS: ONLINE"
Write-Host "MISSION STATUS: CLASSIFIED"
Write-Host ""
Write-Host "Initializing control center..."
Start-Sleep -Seconds 2
Get-Process |
Sort-Object CPU -Descending |
Select-Object -First 10
}
Save the file and open a new PowerShell window.
Now type:
Code:
mission
Your custom command will display the welcome message and list processes with the highest accumulated CPU time.
Take it one step further
You don't have to stop at
mission.You can create commands for almost anything.
For example, on macOS or Linux, you could create a function that launches the Matrix animation:
Code:
hack() {
clear
cmatrix
}
Add it to your shell configuration and reload the file.
Now all you need to type is:
Code:
hack
And your entire terminal transforms into the Matrix.