Bash Scripting on Linux (The Complete Guide) Class 02 – Hello World



Bash Scripting on Linux (The Complete Guide) Class 02 – Hello World

Bash Scripting on Linux (The Complete Guide) Class 02 - Hello World

Moore’s Law of computing is very debatable nowadays, but one tech-related concept that’s absolutely NOT debatable is that everyone learning any scripting or programming language should start with the classic “Hello World” example. And you know what? LearnLinuxTV is a sucker for tradition. So in this episode, you’ll write your very own Hello World script in Bash!

SUPPORT LEARN LINUX TV’S AWESOME CONTENT
Note: Commission may be earned for any and all links presented here.
• Become a channel member here on YouTube ➜ https://learnlinux.link/join
• Become a Patron on Patreon ➜ https://learnlinux.link/patron
• Set up your own cloud server with Linode ➜ https://learnlinux.link/linode

SPOIL YOURSELF WITH A LINUX-RELATED GIFT
• Mastering Ubuntu Server 4th Edition (Jay wrote that!!! 😲) ➜ http://ubuntuserverbook.com
• Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
• Awesome KVM for your Homelab ➜ https://learnlinux.link/tinypilot

INDIVIDUAL SECTIONS
00:00 – Intro
01:03 – What is a Shell in Linux?
05:03 – How to turn Linux command(s) into a Bash Script
06:40 – Marking a script file as executable with chmod
08:32 – How do you run/execute a Bash Script?
12:37 – How to (properly) write a Bash Script

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

LINUX BEGINNERS SHOULD WATCH THESE ESSENTIAL VIDEOS
• How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
• Installing an operating system for Raspberry Pi ➜ https://linux.video/pi-imager
• Understanding Linux permissions ➜ https://linux.video/perms
• Essential tweaks for ALL Linux Servers ➜ https://linux.video/all-servers

BRUSH UP YOUR SKILLS WITH THESE STAND-ALONE TUTORIALS
• OpenSSH Guide ➜ https://linux.video/ssh
• How to better secure OpenSSH ➜ https://linux.video/secure-ssh
• 10 Linux Terminal Tips and Tricks to Enhance Your Workflow ➜ https://linux.video/cli-tricks-1
• Over 15 Terminal Tricks You Should Learn ➜ https://linux.video/cli-tricks-2

CHECK OUT THESE LINUX COURSES TO LEVEL UP YOUR TUX POWERS
• Get up to speed with managing an OpenStack Cloud ➜ https://linux.video/openstack
• Learn how to write your own Bash Scripts ➜ https://linux.video/bash
• Install, configure, and maintain a Proxmox VE Cluster ➜ https://linux.video/pve
• Automate tedious setup jobs by learning Ansible ➜ https://linux.video/ansible
• Learn how to exit vim (and use it too) ➜ https://linux.video/vim

LISTEN TO A GEEKY PODCAST
• Enterprise Linux Security ➜ https://enterpriselinuxsecurity.show
• The Homelab Show ➜ https://thehomelab.show

WORK ON A FUN LINUX PROJECT
• Run your own Gitlab CE Server ➜ https://linux.video/gitlab
• Build a Kubernetes Cluster on Proxmox ➜ https://linux.video/pve-k8s
• Set up your own Nextcloud Server ➜ https://linux.video/nextcloud

VISIT THESE OFFICIAL LEARN LINUX TV SITES
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv

LEARN MORE ABOUT THE HOST
• Personal blog ➜ https://www.jaylacroix.com
• Twitter ➜ https://learnlinux.link/twitter

FAQ
• Which distro do I use? ➜ https://learnlinux.link/mydistro
• My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff

Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.

#Linux #LinuxCourse #ITTraining

Comments are closed.