|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/bash-scripting-for-beginners-learn-to-script/
课程评论:没有评论
**Linux Bash 脚本入门:编写自己的脚本 (Linux Bash Scripting for Beginners: Write Your Own Scripts)** 本课程旨在帮助您掌握 Linux Bash 脚本编写基础,让您告别对现成脚本的依赖,能够独立解决问题。 **课程亮点:** * **实践驱动学习:** 通过实际示例讲解概念,避免枯燥的理论。 * **每月挑战:** 提供真实的项目挑战,帮助您积累经验,建立自信。 * **互动支持:** 讲师及时解答您在学习中遇到的问题。 * **30天退款保证:** 对课程不满意可无条件退款。 **课程内容概览:** * **第一部分:Bash 基础构建块** * 学习常用的 Linux 命令行工具。 * 理解脚本的基本结构、函数定义。 * 掌握输入/输出重定向、管道和命令替换。 * 学习控制语句,如 if、case、while 和 for。 * **第二部分:构建实用的网络流量监控工具** * 学习编写一个核心脚本,收集网络接口流量数据并保存为 CSV 文件。 * 学习编写一个调度脚本,定时运行核心脚本。 * 利用生成的 CSV 文件进行数据分析和可视化。 * **动态课程内容:** * 持续更新,涵盖 `find` 等命令行工具和重定向的深入讲解。 * 每月发布挑战项目,帮助您从初学者进阶到中等水平。 **过往挑战示例:** * 2016年6月: 统计文本文件中字母出现次数的工具。 * 2016年3月: Textify,将数字转换为文本的工具。 * 2016年1月: 等间距排列文本行工具。 * 2015年12月: 主机 ping 回复时间监控器。 **更新历史:** * 2016年5月22日: 发布1月挑战解答。 * 2016年2月29日: 发布12月挑战解答。 * 2016年1月3日: 新增 `xargs` 命令讲解。 * 2015年11月22日: 新增标准错误输出重定向部分。 * 2015年11月15日: 新增 `find` 工具和 proc 文件系统讲解。 * 2015年10月10日: 新增关于参数的测验。
Have you ever been frustrated by that script that just did not work? Are you tired of searching the web for a ready-made script, hoping that it will fix your problem? Want to sit back and relax for a couple of seconds while your script performs the task that would have taken you two hours to accomplish manually? Then you have come to the right course! This course will help you build your own scripts and understand the ones written by others. No more relying on scripts that others built and hoping that they will solve your custom problems. Just writing your own solutions to your own problems. Take this course to get: Learning by example, so that instead of going through boring theoretical concepts, you get to see exactly how each concept applies in practice.Monthly challenges to help you gain experience and trust in your own abilities.Interactive, supportive experience, as I promptly reply to your questions when things just don't work.30-day money back guarantee if you don't like this course for any reasons, no questions asked. In short, you will learn the basic building blocks of bash, watch how a real-life utility is built, do the monthly challenges and solve coding problems in the discussion area to gain experience (did I mention the prizes?). The first section covers basic building blocks that allow you to write your own shell scripts, which are presented in a learn-by-example fashion. Here you will learn about basic linux command line utilities used throughout the course, a simple script structure, defining functions, using input/output redirection, pipes and command substitution. The last lectures in this section focus on control statements, like if, case, while and for. In the second section I will show you how to build a simple real-life utility for monitoring the amount of traffic on a network interface. There are two scripts involved in this utility. The "core", that queries system data about a network interface and adds it to a comma-separated-values (csv) file, one line at a time. The other one will take care of scheduling the "core" to be run at specific times, based on a user specified interval. The result is a csv file that contains data collected at specific points in time, data that can be later processed into a spreadsheet application (e.g. build graphs from it). The rest of the course, what I call the dynamic part, is built in time. You will find here lectures on various command line utilities (e.g. find) or more in-depth lectures on subjects like redirection. I also post monthly challenges for you to gain some much needed experience, in order to ascend from a beginner to an intermediate level. ========================================================== **** Monthly challenges (with prizes) **** Jun '16: Utility to count the occurrences of a letter inside a text file Mar '16: Textify, an utility that takes an integer number and converts it to text Jan '16: Utility to equally space lines in a text file Dec '15: Host ping reply time monitor ========================================================== Update History May 22nd 2016: Published solution for the January challenge Feb 29th 2016: Published solution for the December challenge Jan 3rd 2016: New lecture on xargs Nov 22nd 2015: New section on standard end error output redirection Nov 15th 2015: New lectures on the find utility and the proc filesystem. Oct 10th 2015: New quiz on parameters