command-line:指通过输入文字命令来操作计算机系统或程序的界面与方式,通常称为命令行(界面)(command-line interface, CLI)。常见于终端(terminal)、shell、控制台等环境。
/kəˈmænd laɪn/
I prefer using the command-line for quick tasks.
我更喜欢用命令行来快速完成任务。
To troubleshoot the server, she ran diagnostic tools from the command-line and redirected the output to a log file.
为排查服务器问题,她在命令行中运行了诊断工具,并将输出重定向到日志文件。
command 源自拉丁语 commandare(委托、命令),经由古法语进入英语;line 在这里指“输入的一行文字”。合起来 command-line 字面意思就是“输入命令的那一行”,后来引申为以文本命令为核心的操作方式与环境。