Zsh
MAC 11.4
我正在撰寫一個別名,用于打開兩個新終端并在每個終端中運行一個腳本。我發現打開一個新終端的命令是:
open -a Terminal -n; *program*
我試圖找到有關此命令的檔案,以更好地了解“-a”和“-n”的含義以及如何更好地使用它,但不確定在哪里查看?它是用 Zsh、applescript 等構建的嗎???
提前致謝
uj5u.com熱心網友回復:
man 顯示命令的手冊頁。
語法是man open. 你甚至可以man man用這個結果來做。
NAME
man - format and display the on-line manual pages
SYNOPSIS
man [-acdfFhkKtwW] [--path] [-m system] [-p string] [-C config_file] [-M pathlist] [-P pager] [-B browser] [-H htmlpager] [-S section_list] [section] name ...
DESCRIPTION
man formats and displays the on-line manual pages. If you specify section, man only looks in that section of the manual. name is normally the name of the manual page, which
is typically the name of a command, function, or file. However, if name contains a slash (/) then man interprets it as a file specification, so that you can do man ./foo.5
or even man /cd/foo/bar.1.gz.
See below for a description of where man looks for the manual page files.
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/334415.html
下一篇:SwiftRun命令列使用processing(),但回傳“ErrorDomain=NSPOSIXErrorDomainCode=13Permissiondenied”
