MXterm Pro

How Command Recipes Works: Ready-Made Linux Commands, Matched by Keyword

Henry AGI
4 min read
Cover: how Command Recipes works, from a typed request to a ready-made Linux command matched by keyword.

Command Recipes gives you ready-made Linux commands. In MXterm Pro, press Cmd+J on macOS (Ctrl+J on Windows, not yet verified there) and type a task in English or Vietnamese, like "find log files bigger than 50MB". Keywords are matched to ready-made recipes for common sysadmin tasks, and the command appears with a one-line description. No AI model runs, and nothing runs until you press Insert & Run In Terminal.

What Command Recipes Actually Does

MXterm Pro
Three steps of Command Recipes: press Cmd+J and type a request, click Find Recipe, get the best-matching fixed command.
The three steps of Command Recipes.

Cmd+J opens a small prompt box over your active terminal pane, local or SSH. Type a request and click Find Recipe. MXterm Pro checks it against ten built-in recipe categories and returns the highest-scoring match. The command is fixed, so nothing is written on the fly. The Command Recipes page has the overview.

The recipes are Linux commands, so they suit an SSH session to a Linux server. Many will not run in a local macOS or Windows shell.

The ten categories are big files and logs, memory/RAM, CPU load, disk space, open ports, Docker, Nginx, firewall (UFW) rules, system logs and reboot. The words apache and web server also trigger the Nginx recipe, but the command is always the Nginx one.

MXterm Pro
Command Recipes for Linux commands: ten category cards from big files and logs to Docker, Nginx and reboot
Command Recipes for Linux commands: ten category cards from big files and logs to Docker, Nginx and reboot

Here are a few examples from the built-in set. Ask to find large log files and you get find /var/log -type f -name "*.log" -size +50M -exec ls -lh {} + 2>/dev/null | sort -rh -k5 | head -n 20. Ask what's using your RAM and you get ps aux --sort=-%mem | head -n 15.

Ask about disk usage and it shows df -h, then a du -sh /* | sort -h breakdown of the biggest folders.

Ask "what's listening on port 8080" and it pulls the 8080 out of your sentence into ss -tulpn | grep :8080 || lsof -i :8080. Ask it to clean up Docker and you get docker system prune -af --volumes. Type "test nginx config" and you get nginx -t && systemctl reload nginx, which reloads Nginx as well as testing it.

The result card shows the command and its one-line description, with two buttons: Copy and Insert & Run In Terminal. The second button types the command into the focused pane and presses Enter straight away, with no second confirmation. It also copies the command to your clipboard.

Read the command before you click, especially for recipes like docker system prune -af --volumes or sudo reboot.

Related guideRun Ollama in a Terminal Alongside SSH Sessions

Who Cmd+J Is Built For

It is built for people who SSH into the same handful of servers and keep retyping (or re-Googling) the same operational one-liners. How full is the disk? What is eating memory? What is listening on this port? Is Nginx reloaded? Is anything hogging the CPU right now?

For those questions, the ten recipe categories give you ready-made Linux commands and save typing, without asking you to trust an AI model's judgment on a production box.

It is not built for describing a novel, one-off task and getting back whatever bash it implies. That is closer to what a language model does, and Command Recipes does not call one. If your prompt doesn't land in one of the ten categories, it says "No recipe matches that" instead of guessing at a command that looks plausible but might be wrong.

How Command Matching Actually Works

MXterm Pro
How Command Recipes matches a request to a Linux command by keyword score in four numbered steps
How Command Recipes matches a request to a Linux command by keyword score in four numbered steps

First your prompt is normalized: lowercased and, for Vietnamese, stripped of tone marks. So "bộ nhớ" and "bo nho" both land on the same RAM recipe. The normalized words are scored against each recipe's keyword groups, and the highest score wins. On a tie, the recipe with more keyword groups wins, then the one listed first.

Two categories, checking a specific port and opening one in the firewall, also pull a literal number out of your original sentence with a simple digit match. So "is anything using port 443" and "firewall allow 443" each carry the 443 into the command instead of returning a generic template.

"open port 443" matches the firewall recipe, because "open port" is one of its keywords. It returns ufw allow 443/tcp && ufw reload && ufw status.

This is a curated set of commands with keyword triggers, not a generative model writing bash from scratch. The tradeoff is that it can't handle a request outside its ten categories, and it matches words rather than meaning. Check what it shows before you run it.

What it can do, it does the same way every time: a fixed command, not a freshly hallucinated flag or an invented file path.

The Guardrail Confirmation Dialog

Separate from Command Recipes, MXterm Pro runs a guardrail check on commands typed or pasted directly into any terminal pane, local shell or SSH. It is not a risk model reading intent. It is a fixed list of known destructive shapes, checked on the Rust side: rm -rf /, rm -rf ~, rm -rf *, rm -f /, git push --force / -f, mkfs, dd if=, drop database, drop table, and the classic :(){ :|:& };: fork bomb.

When a command matches one of those, MXterm shows a Security Guardrail Interception dialog with the exact command and the matched reason. It has two buttons: Block & Cancel and Approve & Execute. Nothing reaches the shell until you pick one.

The scope is narrow: a pattern list, not an AI reviewing what a command does. A destructive command phrased differently won't trip it, and neither will a risky one outside the list, such as a bad chmod -R or an accidental > over a file you needed. Treat it as a net for a handful of catastrophic, well-known one-liners, not a substitute for reading a command before you run it.

Pricing

MXterm Pro's plans and prices are on the pricing page. This guide does not quote plan limits.

Command Recipes vs Warp AI vs GitHub Copilot CLI vs Just Typing It

Warp is a terminal with real generative AI built in. A prompt goes to a cloud model, so it can answer open-ended requests, explain errors and go well beyond a fixed list of tasks. The tradeoff is that your prompt leaves your machine. For a fuller comparison, see MXterm Pro and Warp compared.

GitHub Copilot CLI is the copilot command, an agentic assistant that runs in your terminal and can suggest and explain shell commands. It replaced the older gh extension (gh copilot suggest / explain), which GitHub has deprecated. It is LLM-backed and open-ended, and each request goes to hosted models. It is a standalone CLI tool, not a terminal app with SSH, SFTP and split panes built around it.

Running ChatGPT in a split pane next to your terminal is the most open-ended option, since you talk to a full model directly. But you copy and paste each command into the pane by hand.

Cmd+J trades that open-endedness for a fixed list of common ops tasks, matched by keyword with no model involved. It sits in the same window as your SSH and SFTP tabs, split panes and the Control Room. Stay with an AI terminal or a chat tab when your request is novel.

See it running for yourself

Multi-pane SSH, Command Recipes (Cmd+J), and a multi-agent Control Room.

Download MXterm Pro

Frequently Asked Questions

Does Command Recipes use an AI model?

No AI model runs: Command Recipes matches your text against a fixed set of ready-made recipes, and nothing runs until you press Insert & Run In Terminal. For what MXterm Pro sends, see the Privacy page.

Can I use Command Recipes in Vietnamese?

Yes. Prompts are normalized and Vietnamese tone marks are stripped before matching, so "bộ nhớ" and "bo nho" both hit the same RAM recipe. It is currently tuned for English and Vietnamese keywords only. It is not a language model, so results in other languages depend on whether your wording happens to contain a recognized keyword.

What happens if it doesn't recognize my request?

It says "No recipe matches that" instead of guessing at a command that might be wrong. Rephrase toward disk, RAM, CPU, ports, Docker, Nginx, firewall, logs or reboot. Or try one of the quick-tip chips in the modal to see a working example.

Is this the same thing as Warp AI or GitHub Copilot CLI?

No. Warp AI and GitHub Copilot CLI call an actual language model, so they can respond to open-ended requests. Command Recipes matches your text against a fixed set of built-in recipes. That is narrower in scope, and matching needs no model.

Where are MXterm Pro's plans and prices?

On the pricing page. This guide does not quote prices or limits.

Ask AI about MXterm Pro

Open a live answer in ChatGPT, Claude or Perplexity, based on this page. The assistant writes it, not us, so check the sources it cites.

Question sentHow do Command Recipes match a task described in a few words, like finding large files, to a ready-made Linux command?