Terminal (Mac OS X)
维库,知识与思想的自由文库
Terminal(終端機)是蘋果電腦 Mac OS X 作業系統上的應用軟體,同時也存在於OS X's 早期的OPENSTEP 和 NEXTSTEP之上。Mac OS X的 Terminal 置於 "Utilities" 資料夾內。
目录 |
[编辑] 使用 Terminal
[编辑] 動作
Terminal 應用程式的啟動方式可以前往 /Applications/Utilities 目錄的 Finder ,並且雙擊 Terminal.app 的圖示(icon)。
[编辑] 預設 unix shell
當Terminal啟動時, 一開始會登錄進 unix shell,程式會允許使用者透過shell與作業系統的核心(kernel)溝通。在 OS X 10.3版 與 10.4版,預設的 unix shell 是 bash. 更前面的版本則是使用 tcsh 作為預設的 unix shell。
[编辑] 改變 unix shell 的設定
OS X version 10.4 provides, in addition to bash, three other unix shells: tcsh, zsh and ksh. All but ksh were available in previous versions.
To change the default unix shell on a per-user basis, issue the command
chsh -s /bin/zsh
to change to zsh (for example), or
chsh -s /bin/tcsh
to change to tcsh.
[编辑] Apple's Command Line Primer
Apple offers a fairly extensive Command Line Primer that describes in detail how to use the Terminal.




