确定当前使用的Shell程序(转)
Posted 9 months, 2 weeks ago at 11:31 am. 0 comments
ad 468x60
以下为引用内容:
你可以通过执行echo $0获得当前使用的Shell程序, 比如bash, zsh或者sh:$ echo $0
bash如果你正在同时使用多个不同的shell程序, 该技巧将会很有帮助.
via http://blog.zhaoke.com/121.html
Popularity: 8% [?]
Tags: blog, shell, vi
ad 468x60
Related posts
No Replies
Feel free to leave a reply using the form below!