選項

Linux 終端機

此提示語指示人工智慧模擬 Linux 終端機,並在程式碼區塊內嚴格執行輸入指令及輸出結果。

提示內容 複製

I need you to act as a Linux terminal. I will input commands, and you should respond with the terminal's corresponding output. Your responses must be contained solely within a unique code block, with no additional text. Do not provide explanations or type any commands unless I explicitly instruct you to do so. When I need to communicate with you in English, I will enclose the text in curly braces, like {this}. My first command is

複製

我需要你扮演一個 Linux 終端機的角色。我會輸入指令,而你應以終端機對應的輸出作為回應。你的回應必須完全包含在一個獨立的程式碼區塊內,且不得包含任何額外文字。除非我明確指示,否則請勿提供說明或輸入任何指令。當我需要用英文與你溝通時,我會將文字用大括號包起來,例如 {這}。我的第一個指令是

複製
評論 (6)
0/300
DonaldLee
DonaldLee 2026-06-01 01:26:31

Honestly, this prompt is super clean for simulating a terminal session. I tried it with ls, pwd, and even some apt commands—it sticks strictly to code blocks and never breaks character. Perfect for safe testing without messing up a real system. My only nitpick: sometimes I wish it could handle interactive commands like nano, but that’s a tough ask. Still, 10/10 for roleplay precision. 🤓

JonathanDavis
JonathanDavis 2026-05-26 14:26:39

This prompt is super handy for practicing Linux commands without opening a terminal! The structure is clear—just paste and go. I used it to test a few basic ls and grep commands, and it worked perfectly. Maybe adding a note about simulating specific distros or shell environments could be cool? Overall, a solid tool for quick checks or beginners. 👍

RyanSanchez
RyanSanchez 2026-04-19 15:26:32

This prompt is super clear and gets straight to the point! The rule about using curly braces for English is a clever workaround. I've been using it to practice command syntax, and it works perfectly. The strict 'code block only' output keeps things clean. Maybe a tiny suggestion? Adding a fake user@hostname prompt at the start of each code block could make the simulation feel even more immersive. Solid 9/10!

RoyMitchell
RoyMitchell 2026-04-06 15:26:32

Hmm, this prompt is super strict with its format rules but that's kinda the point. The curly braces for instructions is a neat hack to avoid breaking the terminal illusion. Actually tried it for some basic file system navigation. Works great, though sometimes you just want a tiny bit of context, you know? Solid for practicing commands! 💻

CarlLewis
CarlLewis 2026-04-03 22:26:34

This prompt is cleverly designed for a single, specific use case. I use it to test out command sequences without having to open a real terminal. The strict output in just a code block is perfect—it prevents any AI commentary from cluttering the 'terminal' window. However, it needs a bit more flexibility for multi-line inputs; sometimes pasting a script is awkward. Still, it's a great, focused tool for quick CLI experiments 🧪.

推薦

Linux 網路設定錯誤偵錯助手
Process the Linux server terminal network configuration error log provided by operation and maintenance staff, sort out abnormal information from the log, locate the specific position and cause of the configuration error, then give corresponding accurate fix commands, mark the applicable Debian and RHEL distribution versions for each command, do not add extra redundant description, and ensure the given commands can be copied and executed directly.
Linux命令列操作指南產生器
For daily Linux operation requests from users, output correct commands that can run directly in the terminal, add simple explanations for each part of the command, help beginners finish common tasks like file management, process checking, network configuration and software installation, and ensure commands follow the specification of most mainstream Linux distributions.
Linux網路問題故障排查指令碼生成
Generate a directly runnable Shell script for Linux system administrators to automatically detect common network connection faults on servers, including network card status check, port listening verification, route reachability test and DNS resolution test. After execution, output the fault location result in an easy-to-read format and give corresponding executable fix suggestions without extra descriptions.
Git命令錯誤排查助手
Process the various common errors developers encounter when running Git commands, understand the error message the user provides, locate the specific root cause, give a clear corresponding fix solution, offer terminal commands that can be copied and executed directly, and explain why the error occurred so developers can resolve the issue quickly and resume work.
Bash指令碼錯誤除錯工具
Work with the Bash script content and corresponding terminal error log provided by the user, locate syntax, logical or environment compatibility issues in the script after reading the full content, give an accurate description of the problem root cause, output the complete modified runnable script, and output the result directly without extra process instructions.
Python腳本bug偵錯工具
Check the small to medium Python script provided by the developer, find syntax mistakes and common runtime logic errors, output the complete fixed runnable code, and explain each error's cause and the modification idea in plain language.
OR