自动化 Linux、Unix 或 Mac
您将学到什么 学习
bash 脚本的基础知识
创建您自己的脚本
使用各种循环重复命令
能够自动执行任何操作 Linux
要求
有可用的 Linux、BSD 或 Mac
描述
bash 是一种计算机编程语言和命令语言解释器,通常用于 UNIX操作系统。这个名字来自于 Bourne-Again SHell。bash 是流行的 bourne shell 的一种方言,并且是最流行的交互式使用的 shell 之一。
脚本可以在 Linux、Mac OS X 和 UNIX 变体上运行。在本课程结束时,您将能够创建自己的脚本。
在本课程中,您将学习 bash 脚本的基础知识。你将学习:
如何为 bash 脚本设置开发环境
如何编写 bash 脚本
如何运行 bash 脚本
如何使用变量和循环
如何
更多地使用函数
如果您是一名开发人员,您可以使用这些材料来了解 bash 的功能编写脚本,也许您会发现一些有用的提示和技巧。如果您是系统管理员,您可能会在本系列教程中发现一些日常任务的技巧或一些可以帮助您工作的工具。
Bash 脚本以解释方式运行。这意味着当您运行 bash 脚本时,它只是按照命令的编写顺序一个接一个地执行每个命令。
这不是关于高级 bash 技术,而是关于获得一套关于 bash 脚本的良好基础知识。这里的材料适用于任何版本的 bash,甚至适用于其他 shell。
我写 bash 脚本已经十多年了,它确实提高了我的工作效率。通过本课程,希望您也能做到
这门课程面向的对象:
想要学习 Bash Scripting 的 Linux 用户
Bash Scripting Basics MP4 | Video: h264, 1280x720 | Audio: AAC, 48 KHz, 2 Ch
Genre: eLearning | Language: English + .srt | Duration: 10 lectures (49 mins) | Size: 739 MB
Automate Linux, Unix or Mac
What you'll learn
Learn the basics of bash scripting
Create your own scripts
Repeat commands using various loops
Be able to automate anything Linux
Requirements
Have Linux, BSD or Mac available
Description
bash is a computer programming language and command language interpreter, usually for the UNIX operating system. The name comes from the Bourne-Again SHell. bash is a dialect of the popular bourne shell, and is one of the most popular shells for interactive use.
Scripts can be run on Linux, Mac OS X and the UNIX variants. At the end of this course, you will be able to create your own scripts.
In this course you learn the basics of bash scripting. You will learn:
How to setup a development environment for bash scripting
How to write bash scripts
How to run bash scripts
How to use variables and loops
How to use functions
much more
If you are a developer you can use this material to get an idea what is possible with bash scripting and maybe you find some useful tips and tricks. If you are a system administrator you may discover in this series of tutorials some tricks for your daily tasks or some missing tools that could help you in your work.
Bash scripts run interpretively. That means that when you run a bash script, it's just executing each command one after the other in the order in which they're written.
This is not about advanced bash techniques, but about getting a good set of basic knowledge on bash scripting. The material here will work with any version of bash and even with other shells.
I've been writing bash scripts for over a decade, and it really improved my productivity. With this course, hopefully you can do the same
Who this course is for:
Linux users that want to learn Bash Scripting