Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Bash Shell Scripting: From Zero To Automation

Bash Shell Scripting: Từ Con Số 0 Đến Tự Động Hóa

Bash Shell Scripting: Từ Con Số 0 Đến Tự Động Hóa

Học mọi kiến thức cơ bản về Bash, sau đó thành thạo Bash Shell Scripting bằng cách tự động hóa 6 tác vụ đơn giản với độ khó tăng dần

4.5
(766 đánh giá)
4,342 học viên
Giảng viên
Francesco Santi
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 419.000đ -88%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
6.5 giờ video
70 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Viết các Shell script của riêng bạn để tự động hóa
Thao tác với chuỗi, biến và tệp tin
Học cách tự động hóa 6 tác vụ đơn giản trên máy tính với 6 Shell Script
Câu lệnh điều kiện If-Else
Biểu thức số học nâng cao
Vòng lặp qua tệp tin và thư mục
Biến môi trường PATH
Chuyển hướng đầu vào và đầu ra
Mảng (Arrays)
Ký tự đại diện (Wildcards)
và nhiều hơn nữa...

Yêu cầu

Kiến thức cực kỳ cơ bản về terminal
Có hệ thống Linux hoặc Mac (hoặc Windows 10 với terminal linux hoặc GitBash)

Đối tượng phù hợp

Dành cho bất kỳ ai muốn học cách tự động hóa tác vụ bằng terminal
Dành cho người đã quen với Terminal nhưng chưa biết về Shell Scripting
Dành cho người thích học qua thực hành
Dành cho người muốn xem và học các bash script thực tế, đơn giản

Nội dung khóa học

9 phần • 70 bài giảng
1 Giới thiệu và kiến thức nền tảng
2 HƯỚNG DẪN cho HỌC VIÊN MỚI
3 Di chuyển: CD. Tự động hoàn thành: TAB. Tệp ẩn: ls -a
4 Mac Unix Linux
5 Theo dõi tiến độ của bạn
6 Sao chép: Cp
7 Di chuyển, Xóa, Sao chép tệp và thư mục.
8 Truy cập tệp: Cat, Less, More
9 In ra màn hình: Echo
10 Tạo thư mục và tệp: Mkdir, Touch
11 Ký tự đại diện (Wildcards)
12 Biến (Variables)
13 Thao tác với biến
14 Biến vĩnh viễn
15 Đọc dữ liệu đầu vào: Read
16 Chuyển hướng đầu ra
17 Chuyển hướng lỗi
18 Pipe
19 Grep
20 Mở rộng với dấu ngoặc nhọn (Brace Expansion)
21 Quyền truy cập trong terminal
22 Thay đổi quyền trên tệp tin
1 Theo dõi tiến độ 2!
2 Shell Script đầu tiên của chúng ta
3 Câu lệnh If với chuỗi
4 Câu lệnh If với số và tệp tin
5 Điều kiện logic
6 Vòng lặp For
1 Giới thiệu Script BACK
2 Subshells
3 Lệnh Source
4 Lệnh Type
5 Alias trong Bash
6 Thay thế lệnh (Command Substitution)
7 Tham số trong bash
8 Lời khuyên ngắn gọn cho bạn
9 Script BACK
10 Thêm Script vào PATH
1 Trạng thái thoát (Exit Status)
2 Hàm (Functions)
3 Phạm vi biến trong hàm
1 Giới thiệu Script CALC
2 Vấn đề với phép toán trong Bash
3 Môi trường bc
4 Chuyển hướng đầu vào: Here Document
5 Chuyển hướng đầu vào 2: Here String
6 Tham số trong Bash Scripts
7 Dịch chuyển tham số (Parameters SHIFT)
8 Script CALC
1 Giới thiệu Script IFS
2 Đọc nhiều biến
3 Lệnh Grep
4 Bộ phân tách trường nội bộ (Internal Field Separator)
5 Giới thiệu về Script IFS
6 Script IFS
1 Giới thiệu về Script PATH
2 Script PATH
1 Giới thiệu về Script MAX_STRING
2 Lệnh Pipe
3 Lệnh wc
4 Lệnh Strings
5 Script MAX_STRING
1 Mảng (Arrays)
2 Lệnh Cut
3 Lệnh Stat trong Linux
4 Lệnh Stat trong Mac Unix
5 Giới thiệu Script MODIFICATION
6 Script MODIFICATION, phần 1
7 Script MODIFICATION Phần 2, một script đa nền tảng
8 Kết luận

Giới thiệu khóa học

Do you know any real and practical Bash Shell script?

There is a lot of  abstract Bash Scripting that  shows you isolated elements of bash programming.

However this can go only so far.  You will not be ready for real world programming in your job if you have a theory based knowledge.


In this Course We will cover ALL the basics of terminal and bash scripting thoroughly, but without wasting any time,

we will then Automate 6 Simple and Real Task with Bash Scripts that you can use in your everyday life as a programmer.

They are carefully selected to build all the skills you need in Bash Scripting.

For this Reason they are of incremental complexity.


We will present and explain in details a command or a practice in Bash Scripting ONLY when it will be used in one of our main real world scripts, and  we will build it together step by step, showing you the best practices when programming a real script.

In this way, not only  will you learn ALL the fundamental ( and even some advanced ) elements in Bash Scripting, but you will know how to apply those in a Real scenario to solve a Real Problem.


Everything is explained at a slow pace and thoroughly to make sure you can follow along. 

Even if you never used the command line, the First 2 Sections  will teach you all the tools necessary to use the command line and start writing your shell scripts, nothing important is left out, nothing useless is left in.

By the end of the course you'll be writing  your own Shell Scripts, in particular you will learn how to:

  • Use the command line

  • Automate tasks using Shell Scripts

  • Create and use variables in your scripts

  • Manipulate variables to a wide extent

  • Use Wildcards

  • Use Input and output Redirection

  • Source subshells


  • Make decisions by using if-else statements

  • Loop through files and folders

  • Make decision based on strings, variables or files

  • Use arithmetic expression

  • Use advanced computations with the BC command line environment

  • Scripts with parameters and how to "shift"


  • Change the Internal field separator plus why and when to do so.

  • Use Arrays

  • How to properly use your PATH, and a script to work with it

  • Create Shell Scripts that solves real world problems

  • and much more... 


You will write Scripts that:

  1. Move back any numbers of directories you want in the terminal

  2. Find the longest string inside any text file

  3. Performs computations that terminal normally does NOT allow

  4. Read files in your Linux system that have particular separators ( not the usual space )

  5. Get clear Information of files in your PATH, the most important environment variable of your system

  6. Use arrays to know how many times your files were modified during the day


Writing these scripts will allow you to develop an actual skill in creating scripts to solve real problems.

You can Become a Programmer in Bash Scripting who knows how to solve actual problems.

and You can start now.


Looking forward to see you there.


Francesco

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Bash
Hiển thị tất cả khoá học Devops
Hiển thị tất cả khoá học Linux
Hiển thị tất cả khoá học System Administration
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊