Packt

Linux Shell Scripting - Basics

Coursera PlusMonthly 3 个月 课程4 折优惠 ,让你轻松掌握闪耀技能。立即节省

Packt

Linux Shell Scripting - Basics

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • How to build and execute bash scripts for automating tasks in Linux.

  • Using variables, conditional statements, and loops for effective scripting.

  • Handling user input/output and managing background processes.

  • How to schedule and control scripts using cron and other job management tools.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2026

作业

9 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有8个模块

In this module, we will introduce you to the foundational elements of bash scripting, including file formats, script execution, and working with variables. You will learn how to create simple scripts, manage screen outputs, and understand basic control structures.

涵盖的内容

2个视频1篇阅读材料

In this module, we will explore how to use variables in your shell scripts, understanding both environmental and user-defined variables. You'll also learn about command substitution and the challenges of working with subshells to enhance script flexibility.

涵盖的内容

1个视频1个作业

In this module, we will delve into data manipulation through redirection, learn how to perform arithmetic operations in bash, and utilize the Bash Calculator (bc) to tackle more advanced calculations. This will help you manage data flow efficiently in your scripts.

涵盖的内容

2个视频1个作业

In this module, we will introduce you to conditional logic, teaching you how to implement different forms of if statements and apply nested conditions. You’ll also learn how to use boolean logic and compound tests to enhance decision-making within scripts.

涵盖的内容

3个视频1个作业

In this module, we will cover the concept of loops, showing you how to implement for, while, and until loops in your scripts. You will also learn how to manage loop execution using break and continue to control the flow of your scripts effectively.

涵盖的内容

3个视频1个作业

In this module, we will teach you how to manage user input using positional parameters, pass options via the command line, and accept input interactively with the read command. Additionally, you will learn how to schedule scripts and manage their execution in the background.

涵盖的内容

5个视频1个作业

In this module, we will focus on presenting data by exploring Linux File Descriptors. You will learn how to redirect and manipulate the data output within your scripts, giving you greater control over script interaction with the terminal.

涵盖的内容

1个视频1个作业

In this module, we will explore advanced script control techniques, including running scripts in the background, scheduling jobs, and adjusting script priorities. You’ll learn how to ensure scripts run smoothly, even in complex environments.

涵盖的内容

2个视频3个作业

位教师

Packt - Course Instructors
Packt
1,857 门课程514,430 名学生

提供方

Packt

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

常见问题