Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用其中任何一个启动程序文件有什么区别吗?
#!/usr/bin/env lua #!/usr/bin/lua
#!/usr/bin/lua
这指定了唯一允许运行的 Lua 是/usr/bin.
/usr/bin
#!/usr/bin/env lua
这将运行用户从$PATH环境变量中获得的 Lua。
$PATH