美文网首页
Mac 下 shell

Mac 下 shell

作者: 一个栗 | 来源:发表于2021-07-07 09:42 被阅读0次

    查看电脑上有哪些shell

    bogon:Documents mac$ cd /private/etc
    bogon:etc mac $ cat shells
    # List of acceptable shells for chpass(1).
    # Ftpd will not allow users to connect who are not using
    # one of these shells.
    
    /bin/bash
    /bin/csh
    /bin/dash
    /bin/ksh
    /bin/sh
    /bin/tcsh
    /bin/zsh
    
    • bash 早期默认的
    • csh 不用管,已经被 tcsh 替代了
    • dash 最新系统才支持的一种
    • ksh 兼容了 bash
    • sh 已经被 bash 替代
    • tcsh
    • zsh 目前最强大,最受欢迎【目前默认】

    vi 和 vim 一样吗?

    现在一样了。vi 已经被 vim 代替了

    相关文章

      网友评论

          本文标题:Mac 下 shell

          本文链接:https://www.haomeiwen.com/subject/fsgmultx.html