赋值
name="username" # 字符串
name="$username" # 变量引用
循环
- for 循环
for variable in list
do
commands
done
例:
# mv "$dataset"/markers "$dataset"/CellWalkR
mkdir "$dataset"/scJoint_files
done
name="username" # 字符串
name="$username" # 变量引用
for variable in list
do
commands
done
例:
# mv "$dataset"/markers "$dataset"/CellWalkR
mkdir "$dataset"/scJoint_files
done
本文标题:Linux笔记15-bash基本语法
本文链接:https://www.haomeiwen.com/subject/chvkortx.html
网友评论