Linux 中的shell是什么作用跟C语言有什么关系
Linux \u4e2d\u7684shell\u662f\u4ec0\u4e48\u4f5c\u7528\u8ddfC\u8bed\u8a00\u6709\u4ec0\u4e48\u5173\u7cfbc shell\u662f\u4e00\u79cd\u811a\u672c\u8bed\u8a00\uff0c\u662f\u7528c\u8bed\u8a00\u5199\u7684\uff0c\u57fa\u672c\u4e0a\u6240\u6709\u7684\u9ad8\u7ea7\u8bed\u8a00\u90fd\u662f\u7528c\u5199\u7684\uff0c\u8bed\u6cd5\u4e0a\u8ddfc\u8bed\u8a00\u5dee\u522b\u5f88\u5927\uff0c\u8ddfVB\u6bd4\u8f83\u50cf\uff0c\u5b83\u7684\u4f5c\u7528\u5c31\u8ddfwidows\u7684dos\u547d\u4ee4\u5dee\u4e0d\u591a\u3002\u5f88\u5bb9\u6613\u5b66\u7684\u3002\u3002
1\u3001Shell\u4fd7\u79f0\u58f3\uff08\u7528\u6765\u533a\u522b\u4e8e\u7cfb\u7edf\u5185\u6838 \uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff09\uff0c\u662f\u6307\u201c\u63d0\u4f9b\u4f7f\u7528\u8005\u4f7f\u7528\u754c\u9762\u201d\u7684\u8f6f\u4ef6\uff08\u547d\u4ee4\u89e3\u6790\u5668\uff09\u3002\u5b83\u7c7b\u4f3c\u4e8eLinux\u7cfb\u7edf\u4e2d\u7684bash shell\uff0cwindows\u7cfb\u7edf\u4e0a\u7684cmd.exe\uff0c\u5b83\u63a5\u6536\u7528\u6237\u547d\u4ee4\uff0c\u7136\u540e\u8c03\u7528\u76f8\u5e94\u7684\u5e94\u7528\u7a0b\u5e8f\u3002
2\u3001Shell\u811a\u672c\u662fShell\u7a0b\u5e8f\u6240\u652f\u6301\u7684\u547d\u4ee4\u96c6\u5408\u6216\u8005\u6587\u672c\u6587\u6863 \uff0c\u662fShell\u7a0b\u5e8f\u6240\u64cd\u4f5c\u7684\u5bf9\u8c61\u3002Shell\u811a\u672c\u822c\u662f\u662f\u7528\u5404\u7c7b\u547d\u4ee4\u9884\u5148\u653e\u5165\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff0c\u65b9\u4fbf\u4e00\u6b21\u6027\u6267\u884c\u7684\u4e00\u4e2a\u7a0b\u5e8f\u6587\u4ef6\uff0c\u4e3b\u8981\u662f\u65b9\u4fbf\u7ba1\u7406\u5458\u8fdb\u884c\u8bbe\u7f6e\u6216\u8005\u7ba1\u7406\u7528\u7684\u3002
Linus主要有下列版本的Shell,其中c shell跟c需要的语法是最相似的。
Bourne Shell:是贝尔实验室开发的。
BASH:是GNU的Bourne Again Shell,是GNU操作系统上默认的shell。
Korn Shell:是对Bourne SHell的发展,在大部分内容上与Bourne Shell兼容。
C Shell:是SUN公司Shell的BSD版本。
Z Shell:The last shell you’ll ever need! Z是最后一个字母,也就是终极Shell。它集成了bash、ksh的重要特性,同时又增加了自己独有的特性。
没什么关系。
没什么关系把
扩展阅读:100个必会的shell脚本 ... shell脚本菜鸟教程 ... linux shell 菜鸟教程 ... linux shell read ... linux shell指令 ... linux创建shell脚本并编辑 ... 简单的shell脚本代码 ... linux基本shell命令 ... linux中shell字符串拼接 ...