如何检查Mac OSX中可用的外壳? [英] How can I check the available shells in Mac OSX?
本文介绍了如何检查Mac OSX中可用的外壳?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何检查可在OSX Terminal应用程序中使用的所有不同的外壳程序?
How can I check all the different shells that I can use in OSX Terminal application?
默认值是bash,我知道zsh是因为我尝试了并且有效.我不知道该如何检查这两个以上的内容.
The default one is bash, and I know zsh because I tried and it worked. I wonder how can I check if there are any more than this two.
推荐答案
最简单的方法是转到/etc
并检查shells
文件.内容是Mac OSX中可用的外壳列表.
The easy way is go to /etc
and check the shells
file. The content is the list of shells available in Mac OSX.
默认情况下包括:
/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
或者,您可以通过转到/bin
并视觉识别它们来检查它们的二进制文件.自然,您必须了解它们才能识别它们.
Alternatively, you can check their binaries by going to /bin
and recognising them visually. Naturally, you have to know them in order to recognise them.
这篇关于如何检查Mac OSX中可用的外壳?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文