csdiy
vim
Linux vi/vim 命令用法详解-Linux命令大全(手册)
git
shell
mac os 写shell脚本
- 创建脚本 抬头一般是
#! /bin/bash - 授权 批量授权当前文件夹脚本:
find . -type f -name "*.sh" -exec chmod +x {} \; - 运行
bash name.sh或者./name.sh
发布于 2024-01-21 1204 次阅读
Linux vi/vim 命令用法详解-Linux命令大全(手册)
#! /bin/bashfind . -type f -name "*.sh" -exec chmod +x {} \;bash name.sh 或者./name.sh