Linux 之shell入门

1、#!/bin/bash含义

声明该shell是用那种shell语言来解释,这里使用bash解释

2、永远的helloworld

编写一个简答的hello

3、shell的执行

1)./执行

必须有执行权限

2)sh shell脚本名

即使没有执行权限也可以执行,但是不推荐这样使用

猜你喜欢

转载自blog.csdn.net/qq_36722039/article/details/83759635
今日推荐