{"id":92303,"date":"2024-04-01T03:13:11","date_gmt":"2024-03-31T19:13:11","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=92303"},"modified":"2024-04-01T03:13:11","modified_gmt":"2024-03-31T19:13:11","slug":"shebang-sharp-bang","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/shebang-sharp-bang.html","title":{"rendered":"\u4f60\u4e0d\u77e5\u9053\u7684#!\u542b\u4e49"},"content":{"rendered":"
\u8fd9\u662f\u6211\u7b2c\u4e00\u6b21\u9047\u5230\u65e0\u6cd5\u7ffb\u8bd1\u7684\u6f2b\u753b\uff0c#! \u662f Unix\/Linux \u91cc\u9762\u7528\u4e8e\u6307\u793a\u811a\u672c\u89e3\u91ca\u5668\u7684\u7279\u5b9a\u8bed\u6cd5\uff0c\u4f4d\u4e8e\u811a\u672c\u4e2d\u7684\u7b2c\u4e00\u884c\uff0c\u4ee5 #! \u5f00\u5934\uff0c\u63a5\u7740\u662f\u8be5\u811a\u672c\u7684\u89e3\u91ca\u5668\uff0c\u901a\u5e38\u662f \/bin\/bash\u3001\/usr\/bin\/python \u4e4b\u7c7b\u3002
\n<\/p>\n
\u5173\u4e8e #! \u5176\u82f1\u6587\u540d\u79f0\u4e3a\u201cshebang\u201d\uff0c\u5176\u4e2d\u7684\u201cshe\u201d \u6765\u6e90\u4e8e \u201c#\u201d\u7684\u53d1\u97f3 \u201csharp\u201d\uff0c\u201cbang\u201d\u6765\u6e90\u4e8e\u201c!\u201d\uff0c\u6545\u5982\u6b64\u547d\u540d\u3002<\/p>\n
Linux \u4e2d\u56fd\u7ffb\u8bd1\u7ec4\u6838\u5fc3\u6210\u5458 GOLinux \u63d0\u8bae\u5c06\u6b64\u4e13\u6709\u540d\u79f0\u7ffb\u8bd1\u4e3a\u201c\u91ca\u4f34\u201d\u3002<\/p>\n
\u56de\u5230\u8fd9\u5e45\u6f2b\u753b\uff0c\u4f5c\u8005\u7684\u539f\u610f\u53ef\u80fd\u662f\uff1a\u6211\uff01\u4f60\uff01\u4ed6\uff01 \uff0c\u4ee5\u6b64\u7c7b\u63a8\uff0c\u7136\u540e\u662f\u5979\uff08she\uff09\uff01 \u5373 #!S\u3002\uff08\u9644\u6ce8\uff1a\u611f\u8c22\u4e07\u80fd\u7684\u7f51\u53cb\u6307\u51fa\u6211\u6ca1\u770b\u61c2\u7684\u90e8\u5206\u3002\uff09<\/p>\n
via: http:\/\/turnoff.us\/geek\/shebang\/<\/p>\n
\u4f5c\u8005\uff1aDaniel Stori \u70b9\u8bc4\uff1awxy<\/p>\n
\u672c\u6587\u7531 LCTT \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd \u8363\u8a89\u63a8\u51fa<\/p>\n
\n\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9188-1.html<\/a><\/p>\n