|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-bash-shell-in-linux-for-beginners/
课程评论:没有评论
**课程名称:** Linux Bash Shell 入门 **课程概述:** 本课程专为初学者设计,旨在教授 Linux Shell 脚本编写,重点在于 Bash Shell。课程将通过脚本自动化常见任务,并深入讲解控制脚本执行的逻辑。课程共分为两个单元,包含一个多小时的演示和讲解。这是 EDUMobile Academy Linux 课程系列的第二部分。 **单元一:Shell 环境探索** * **内容:** * 编写第一个 "Hello, World!" 脚本 * 如何使脚本可执行 * 理解并移除 `./` 运行脚本的原因 * 让脚本影响当前运行的 Shell * 变量的定义和使用 * `.bashrc` 文件的作用 **单元二:脚本命令与控制流** * **内容:** * Shell 命令的退出状态 * `if` 语句和条件测试 * 处理命令行参数 * 生成随机数 * 循环结构(while, until, for) * `case` 语句 **课程目标:** 学习者将掌握 Bash 脚本语言的基础知识,能够利用脚本来自动化任务,并理解脚本中控制流程的逻辑。 **欢迎加入本课程,一同探索 Bash 脚本的精彩世界!**
This course teaches beginning Linux shell scripting in the Bash shell. The emphasis in the course is on the scripting language itself: using scripts to automate common tasks, and the logic within the language used to control the execution of the script. The course is in two units, and contains over an hour of demos and discussion. This is the second part of the Linux course series from EDUMobile Academy.In the first unit of the course, we'll explore the shell environment itself, and cover such topics as:- a simple hello world script- making scripts executable- why we run a script with a./ and how to remove it- running a script to act upon the currently running shell- variables and how to use them- the.bashrc fileThe second unit covers scripting commands, particularly control flow. Topics include:- exit status of shell commands- the if statement and tests- handling command line arguments- random numbers- loops (while, until, and for)- the case statementI hope you join me for this beginner's guide to the bash scripting language!