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.

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:

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:

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:

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:

Get-Process chrome 

Then terminate the specific process using its PID:

Stop-Process -Id 12345 

If it refuses to close, you can force it:

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 Iron Man Lab your own hacker screen appear.

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:

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:

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:

brew install cmatrix 

Once it's installed, type:

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:

sudo apt install cmatrix 

For Fedora:

sudo dnf install cmatrix 

Then launch it:

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:

wsl --install 

Follow the setup instructions and restart if prompted.

Open your installed Ubuntu environment and run:

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?

cmatrix -C red 

Want blue?

cmatrix -C blue 

Want bold characters?

cmatrix -b 

Want the animation to stop when you press a key?

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:

brew install btop 

Then run:

btop 

Your terminal transforms into an interactive dashboard.

On Linux

For Ubuntu or Debian:

sudo apt install btop 

For Fedora:

sudo dnf install btop 

Then:

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:

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:

mission 

And suddenly your computer displays:

================================ 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:

nano ~/.zshrc 

On many Linux distributions, the default shell is Bash:

nano ~/.bashrc 

At the bottom of the file, add:

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:

source ~/.zshrc 

For Bash:

source ~/.bashrc 

Finally, type:

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:

notepad $PROFILE 

If PowerShell says the profile's directory doesn't exist, create it first:

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:

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:

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:

hack() { clear cmatrix } 

Add it to your shell configuration and reload the file.

Now all you need to type is:

hack 

And your entire terminal transforms into the Matrix.