嵌入式Linux开发工具——shell编程 (脚本:批处理)Linux系统运维工程师(嵌入式开发–系统移植)
shell:
1、命令解析器(将用户输入的命令解析,调用相应的命令的可执行文件)
2、脚本语言
命令:可执行文件
常用:sh.bash
#!/bin/shell
变量名=值(注意:不能有空格)
if for while until cae 函数 函数传参 函数返回值 键盘输入read
底层嵌入式开发:shell命令拼装、看懂shell
输出1—100的素数
嵌入式Linux开发工具——shell编程 (脚本:批处理)Linux系统运维工程师(嵌入式开发–系统移植)
shell:
1、命令解析器(将用户输入的命令解析,调用相应的命令的可执行文件)
2、脚本语言
命令:可执行文件
常用:sh.bash
#!/bin/shell
变量名=值(注意:不能有空格)
if for while until cae 函数 函数传参 函数返回值 键盘输入read
底层嵌入式开发:shell命令拼装、看懂shell
输出1—100的素数