#!/bin/bash
时间: 2023-08-04 11:06:31 浏览: 121
shell中第一行#!_bin_bash的作用
#!/bin/bash是linux脚本的开头注释,用于声明解析当前文件要使用的解释器。通常我们写的脚本都是包含各种系统命令来实现定制功能的,所以都是使用bash解释器。\[1\]
#### 引用[.reference_title]
- *1* [linux脚本开头的#!/bin/bash有什么作用](https://blog.csdn.net/soldier_d/article/details/118670924)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [bash 运行文件#!bin/bash](https://blog.csdn.net/Mr_Cat123/article/details/109147851)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文