|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/practical-bash-scripting/
课程评论:没有评论
Coursera “Linux 和 Mac OSX 实战 Bash 脚本编写”课程总结 本课程旨在通过实例教授 Linux 和 Mac OSX 上的 Shell 脚本编写。学员将学习如何在 Linux(包括 Fedora、Redhat、Suse、CentOS 等发行版)和 Mac OSX 上编写脚本。 课程的重点在于: * **脚本拆解与整合:** 深入理解每个独立脚本的细节,并学习如何将它们有效地组合成功能性脚本。 * **命令与应用结合:** 从 Linux 命令(如 grep, find, awk, date, chmod, chown, trap 等)创建脚本,并将其集成到实际应用中,实现自动化,摆脱枯燥任务。 * **系统内部知识:** 了解 Linux 的系统内部结构和启动过程。 * **文件操作:** 学习使用 Shell 脚本进行详细的文件操作,包括文件重定向(将控制台输出到文件,或其他文件描述)。 * **进程管理:** 理解前后台进程的概念,如何在它们之间切换,以及如何使用 top 和 ps 命令查看进程详情和内存占用。 * **信号处理:** 学习如何捕获和发送信号,以防止脚本因 Ctrl+C 或其他信号而异常终止。 * **文件系统与链接:** 了解 inode 的概念,并学习如何创建符号链接。 * **控制流程:** 学习 Linux 中的 case 语句,以及 for 和 while 循环的各种用法。 * **用户输入与数组:** 学习如何读取用户输入并进行处理,以及如何有效使用和表示数组。 本课程以易于理解的实例为主,同时保持脚本的实用性和独立性。
Learn the Shell scripting by example on various platforms like Linux, Mac OS X as well as different flavors of Linux distribution like Fedora, Redhat, Suse, CentoS etc. Take each isolated script and go through various parts and understand the nitty gritty of the scripts and how to efficiently join them to make a functional script. Create scripts from set of Linux commands and integrate with some useful real life applications. Easy to understand example at the same time maintaining the practicality and isolation. Automate the boring stuff with shell scripts. Built an expertise in Linux command line like grep, find , awk, date, chmod, chown, trap etc. Understand system internals and boot process of Linux. Very detailed description with practical example as to how to do file operations using shell script. File redirection topic covered with details to output the console to a file and to any other file description Detailed description of Background and foreground processes and how to switch between them. How to check the process details and memory consumption with top and ps commands. How to trap a signal and send a signal to a shell script, which would help in preventing your program from abnormal termination due to ctrl +C press or due to other signals. Overview of inode and how to create a symbolic link. Learn about case statement in Linux and examples of the same. How to use iteration in Linux like for, while and different ways to achieve the same. Detailed explanation with example as to how to read user input and process the same. How to effectively use array and how to represent them.