07 2020 档案
摘要:1.sh+脚本的相对路径 [jinghang@hadoop101 datas]$ sh helloworld.sh helloworld sh+脚本的绝对路径 [jinghang@hadoop101 datas]$ sh /home/jinghang/datas/helloworld.sh hell
阅读全文
摘要:简单来说脚本就是将需要执行的命令保存到文本中,按照顺序(由上往下执行),它是解释型的,不需要 编译 脚本格式 #!/bin/bash或者#!/bin/env bash开头 第一个shell脚本:helloworld 1.需求:创建一个shell脚本,输出helloworld 2.案例: [jingh
阅读全文
浙公网安备 33010602011771号