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

Complete Linux Bash Shell Scripting with Real Life Examples

Lập trình Bash Shell Linux toàn diện với ví dụ thực tế

Lập trình Bash Shell Linux toàn diện với ví dụ thực tế

Lập trình Shell và tự động hóa các tác vụ thường ngày nhàm chán (Kỹ năng scripting bắt buộc cho chứng chỉ RHCSA)

4.5
(4,791 đánh giá)
35,934 học viên
Giảng viên
Imran Afzal
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
14.5 giờ video
87 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 28/04/2026

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

Học viên sẽ hiểu được các khái niệm về shell scripting
Học viên có thể viết được shell script từ cơ bản đến nâng cao
Học viên sẽ hiểu cách sử dụng shell script để tự động hóa các tác vụ quản trị hệ thống hàng ngày
Cách nhận đầu vào từ người dùng và đưa ra quyết định dựa trên đầu vào đó

Yêu cầu

Có mong muốn học shell scripting
Máy chạy Linux (vật lý hoặc máy ảo)
Kỹ năng chỉnh sửa file trên Linux
Quen thuộc với dòng lệnh Linux

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

Bất kỳ ai đã có kiến thức tốt về Linux/Unix và muốn học shell scripting
Bất kỳ ai muốn thăng tiến sự nghiệp trong lĩnh vực Linux
Bất kỳ ai muốn nâng cao kỹ năng Linux
Quản trị viên muốn tự động hóa các tác vụ thường ngày nhàm chán

Nội dung khóa học

8 phần • 87 bài giảng
1 Giới thiệu
2 Tổng quan chương trình học
3 Tải chương trình học
4 Lời cảm ơn
5 Yêu cầu
1 Chào mừng đến với phần thiết lập lab
2 Virtual Box là gì?
3 Cài đặt Oracle Virtual Box
4 Tạo máy ảo đầu tiên
5 Tải và cài đặt Linux (CentOS7)
6 Tải và cài đặt Linux (CentOS8) - Tùy chọn
7 Tải và cài đặt Linux (CentOS9 Stream)
1 Chào mừng đến với phần cơ bản về Shell Scripting
2 Kernel là gì?
3 Shell là gì?
4 Shell Scripting là gì?
5 Các loại Shell
6 Bắt đầu một Shell
7 Cách chạy một Shell Script
1 Chào mừng đến với phần tiêu chuẩn viết script
2 Quy ước đặt tên script
3 Quyền truy cập file script
4 Định dạng Shell Script
5 Trình tự thực thi script
1 Chào mừng đến với phần Shell Script cơ bản
2 Tạo script đầu tiên - Hello World
3 Chạy các tác vụ cơ bản - Script
4 Chạy các tác vụ quản trị cơ bản
5 Định nghĩa biến
6 Script nhập/xuất
7 Script điều kiện/câu lệnh if else
8 Script câu lệnh case
9 Script vòng lặp for
10 Script vòng lặp do-while
11 Trạng thái thoát
12 Tài liệu bổ sung
1 Chào mừng đến với phần scripting thực tế
2 Truy cập dữ liệu từ file
3 Kiểm tra kết nối máy chủ từ xa (ping)
4 Lập lịch và thông báo script
5 Script xóa file cũ
6 Sao lưu hệ thống file
7 Script vòng lặp for cho hệ thống file - 1
8 Script vòng lặp for cho hệ thống file - 2
9 Sao chép file đến máy chủ từ xa
10 Phân thư mục người dùng
11 Danh sách người dùng đăng nhập theo ngày
12 Script ghi log tập trung (rsyslog)
13 Script quản lý tài khoản người dùng
14 Vô hiệu hóa người dùng không hoạt động
15 Kiểm tra và kết thúc tiến trình
16 Trạng thái dung lượng đĩa
17 Thống kê tổng số file
18 Tạo bản kiểm kê hệ thống
19 Script với thông tin định sẵn
20 Nhận trợ giúp trực tuyến
21 Chúc mừng
22 Bài tập về nhà
1 Chào mừng đến với phần tài nguyên bổ sung
2 Khắc phục sự cố kết nối Putty
3 Những điều quan trọng cần nhớ trong Linux
4 Các loại file Linux
5 Ký tự đại diện (Wild Cards)
6 Liên kết mềm và liên kết cứng
7 Lệnh quản lý quyền sở hữu file
8 Phím TAB hoàn thành và mũi tên lên
9 Kết hợp và tách file
10 Trình soạn thảo file Linux (vi)
11 Lệnh "sed"
12 Lệnh tiện ích hệ thống
13 Giám sát log hệ thống
14 Lệnh terminal
15 Bí danh (Aliases)
16 Gộp NIC (NIC Bonding)
17 Lệnh chuyển file
18 RAID là gì?
19 Sự thật về CNTT
20 Sự khác biệt giữa CentOS/Redhat 5, 6 và 7
21 Bảo mật máy Linux (Cứng hóa hệ điều hành)
22 SELinux
23 Cài đặt và cấu hình NFS
24 Vấn đề hiệu suất hệ thống Linux
25 Ảo hóa là gì và lợi ích của nó?
26 Giới thiệu về VMWare
27 Tài liệu bổ sung
1 Chào mừng đến với phần thưởng
2 Bài giảng thưởng

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

Welcome to our comprehensive course on Linux Bash Shell Scripting, tailored for those with a foundational understanding of Linux who are eager to enhance their Linux Command Line and shell scripting skills. In this course, we explore the practical aspects of Linux bash, focusing extensively on bash script Linux techniques and Linux bash shell script applications.


Through this training, you'll gain hands-on experience with various bash scripts, each rooted in real-life scenarios. This approach not only makes learning more enjoyable for hobbyists but also equips aspiring Linux system admins with vital shell scripting abilities. Additionally, experienced Linux engineers will find this course a valuable opportunity to consolidate their command line and bash scripting expertise.


With the Complete Linux Bash Shell Scripting with Real Life Examples course, you'll master key concepts in shell scripting, from script automation and process management to advanced command line techniques. This course dives deep into essential Linux commands, text processing, and control structures, giving you the skills to create scripts that automate repetitive tasks and enhance system efficiency. Designed for Linux enthusiasts, system administrators, and DevOps professionals, this course combines real-life examples with best practices, providing a strong foundation for tackling complex scripting challenges and optimizing Linux environments. By the end, you’ll be ready to apply your scripting knowledge to streamline workflows and increase productivity across diverse Linux systems.


Join us as we explore the fascinating world of bash and Linux bash script through real-life examples, ensuring that you acquire skills that are both practical and relevant in today's tech-driven landscape.


In this training we will cover the following:


  • Section 1 – (Lab Setup)

    ·         What is Virtual Box?

    ·         Downloading and installing Virtual Box

    ·         Creating first virtual machine

    ·         Linux installation

     

    Section: 2 – (Shell Scripting Basics)

    ·         What is Kernel?

    ·         What is a Shell?

    ·         Shell Scripting?

    ·         Type of Shells

    ·         Starting a Shell

    ·         How to Run a Shell Script

     

    Section: 3 – (Scripting Standards)

    ·         Naming Convention

    ·         Script File Permissions

    ·         Shell Script Format

    ·         Sequence of Script Execution

     

    Section: 4 – (Basic Shell Scripts)

    ·         Creating 1st script

    ·         Script to run basic tasks

    ·         Defining variable

    ·         Input/output script

    ·         Conditions/If else statement scripts

    ·         Case statement scripts

    ·         For loop scripts

    ·         Do-while scripts

    ·         Exist Status

    ·         Handouts

     

    Section: 5 – (Real Life Scripts)

    ·         Accessing data from files

    ·         Check remote servers connectivity

    ·         Script for scheduling and notification

    ·         Script to delete old files

    ·         Backup filesystem

    ·         For loops scripts for file system – 1

    ·         For loops scripts for file system – 2

    ·         Copy files to remote hosts

    ·         User directory assignment

    ·         List of users logged in by date

    ·         Central logging (rsyslog) script

    ·         Script for user account management

    ·         Disable inactive users

    ·         Check process status and killing it

    ·         Status on total number of files

    ·         Script to create system inventory

    ·         Getting online help

    ·         Homework

  • Additional Resources

    ·         This section has so many additional Linux related lectures




Here is the testimonial from my students:

  • To all of you that are looking for a REALLY GOOD LINUX course, THIS IS IT, SERIOUSLY I promise you won't find a course on LINUX here that is THIS GOOD. -- T.J. Marstiller (Udemy Student)


  • Imran is a very knowledgeable and engaging instructor. As others have said, you can tell that he is not just trying to sell a course, but that he is invested in giving his students a strong career foundation with a positive and approachable attitude. He is also entertaining with his use of pop culture and practical work examples. It really feels like you're in a classroom with him. I'm taking this course mainly as a hobbyist, but got a lot from it already. The homework assignments, quizzes, and handouts help reinforce the material.   -- Raymond B.  (Udemy Student)


  • Main thing about course is its simplicity and the hierarchy. Design is very good and easy which helps to understand things better.  -- Akash Garg (Udemy Student)


  • I just love the teaching ad the learning experience I am getting  -- Jacob Samba (Udemy Student)


  • Imran Afzal might be my favorite teacher I've EVER had. He is funny, and engaging. The course was easy to follow, and with no experience starting I am now extremely comfortable with Linux, and actually really like it. He does make you do your googles, but this is not a bad thing especially considering the nature of IT and documentation to solve your own problems. I highly recommend.  -- Vanessa Diaz-Goumond (Udemy Student)


  • The course is run very well and I really like the handouts and the homework that is assigned. The homework helps me learn and continue with the learning process even when adult life is still progressing forward.  -- Thomas Rogers (Udemy Student)


  • Such an amazing instructor. Imran must have put in a lot of effort in structuring the course and taking the student step by step, he takes his time in explaining everything, from what Linux is, how to down load it, coding, etc. I have taken other courses from Imran. I am a student for life. Keep it up and please keep preparing more courses for please like us who can benefit from your way of teaching, knowledge and experience. Thank you.  -- Ali Shiekh (Udemy Student)


  • In the first place I say a big thank you to the instructor for making such a great course. I was afraid to learn Linux. I now feel very comfortable with Linux. I have understood both the concept behind and the practical as well. I would recommend every one who is NEW to Linux and wants to grab it once and for all without wasting time to go ahead and ENROLL. You will not regret it. I would like the instructor to do same for WINDOWS SERVER ADMIN., I don't seem to find any better and beginner oriented course out there that could be matched with this course. To me, it is the BEST Linux Course on Online. I just started some real world projects with Linux after this great course, I was new to Linux and in just a month I am on the command line always playing.  -- Opoku Bright (Udemy Student)


  • I genuinely look forward to additional courses in the future. This has been so informative. You hear the name oracle all the time, but this was well put in layman’s terms  -- Atoofa Hasan (Classroom Student)


  • Imran Afzal eats, breathes and sleeps Linux! He really knows his stuff. I feel like he has brought me from a novice level education to masters level in a short time period. Anyone who is looking to get a job in Linux should definitely take this course.  -- TJ Walker (Udemy Student)

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 Bash Shell Scripting
Hiển thị tất cả khoá học Command Line Tools
Hiển thị tất cả khoá học Linux System Administration
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊