Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将我的 Cygwin64 终端配置为使用较短的关键字执行某些现有命令。例如,我希望能够通过在所有情况下clear键入来使用。clr但是,我仍然希望原件clear能够正常工作。这种类型的命令“转发”可能吗?
clear
clr
这称为命令别名:
alias clr=clear
两者都clr将clear起作用
我希望这有帮助!