shell

简介

Shell 是命令行解释器

image.png

shall 很多种类

image.png

Linux 中是 Bash, windows 中的 Bash 是 wsl 或者 Git bash

快速开始

  1. 创建 hello.sh

  2. 打开 Git Bash

hello.sh

#!/bin/bash
echo "Hello Shell"
  1. 执行 ./hello.shbash hello.sh

Shell 小游戏

最后更新于

这有帮助吗?