Bash Scripting on Linux (The Complete Guide) Class 03 - Variables

Learn Linux TV
Learn Linux TV
Welcome to LearnLinuxTV's brand new complete course on Bash Scripting! In this 18 episode series, you'll learn everything you ne ...
Welcome to LearnLinuxTV's brand new complete course on Bash Scripting! In this 18 episode series, you'll learn everything you need to know in order to start writing Bash scripts. Each video builds on the previous one, with additional concepts added as the series progresses. Examples will start off easy with shorter scripts, and by the end of the series you'll be able to write more complex scripts that will actually come in handy while maintaining Linxu servers. In this episode, we'll take a look at variables.

Brand LPI Linux Essentials Course Available
Now just $44.99 for a limited time! ➜ https://learnlinux.link/lpi-course
https://learnlinux.link/lpi-course

Check out the Linux Shop
In the official shop, you'll find Shirts, hats, stickers, bags and more!
https://merch.learnlinux.tv

5% discount on LPI exam vouchers
After you finish Jay's new course, get 5% off an LPI exam voucher here:
https://learnlinux.link/lpi-voucher

Become a Patron
Show your support for Learn Linux TV on Patreon and get access to exclusive perks!
https://learnlinux.link/patron

Become a Channel Member
Show your support for Learn Linux TV here on YouTube and get access to exclusive perks!
https://learnlinux.link/member

Mastering Ubuntu Server: 4th Edition
Jay's latest book covers everything you need to know in order to master Ubuntu Server. It's available here:
https://ubuntuserverbook.com

Linux Gear and Kits
Check out Jay's choice of hardware products, audio/video equipment, and more.
https://learnlinux.link/amazon

Grab an awesome Pi-powered KVM
Support Learn Linux TV and grab yourself a TinyPilot KVM here:
https://learnlinux.link/tinypilot

Note: Royalties and/or commission is earned from each of the above links

Time Codes
00:00 - Intro
00:52 - Declaring a variable in Bash
01:45 - How to reference a variable in Bash
06:25 - Using variables within Bash Scripts
16:44 - How to use the output of a command within a Bash Script
22:23 - How to view the environment variables within your Linux session

OTHER BASH SCRIPTING SERIES EPISODES
- Class 01 ➜ Introduction: https://linux.video/bash1
- Class 02 ➜ Hello World: https://linux.video/bash2
- Class 03 ➜ Variables: https://linux.video/bash3
- Class 04 ➜ Math Functions: https://linux.video/bash4
- Class 05 ➜ If Statements: https://linux.video/bash5
- Class 06 ➜ Exit Codes: https://linux.video/bash6
- Class 07 ➜ While Loops: https://linux.video/bash7
- Class 08 ➜ Universal Update Script: https://linux.video/bash8
- Class 09 ➜ For Loops: https://linux.video/bash9
- Class 10 ➜ Where To Store Your Scripts: https://linux.video/bash10
- Class 11 ➜ Data Streams: https://linux.video/bash11
- Class 12 ➜ Functions: https://linux.video/bash12
- Class 13 ➜ Case Statements: https://linux.video/bash13
- Class 14 ➜ Scheduling Jobs (Part 1): https://linux.video/bash14
- Class 15 ➜ Scheduling Jobs (Part 2): https://linux.video/bash15
- Class 16 ➜ Arguments: https://linux.video/bash16
- Class 17 ➜ Building a Backup Script: https://linux.video/bash17
- Class 18 ➜ Closing: https://linux.video/bash18

Full Courses from Learn Linux TV
• Linux Essentials Certification Workshop ➜ https://learnlinux.link/lpi-course
• Linux Crash Course series ➜ https://linux.video/cc
• Learn how to use tmux ➜ https://linux.video/tmux
• Learn how to use vim ➜ https://linux.video/vim
• Bash Scripting Series ➜ https://linux.video/bash
• Proxmox VE Cluster Full Course ➜ https://linux.video/pve
• Learn Ansible ➜ https://linux.video/ansible

Learn Linux TV on the Web
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv
• Enterprise Linux Security Podcast ➜ https://enterpriselinuxsecurity.show
• The Homelab Show Podcast ➜ https://thehomelab.show
• Content Ethics ➜ https://www.learnlinux.tv/content-ethics
• Request Assistance ➜ https://www.learnlinux.tv/request-ass...

Disclaimer
Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws.

#linuxtutorial #linux #ubuntu

همه توضیحات ...