In this video we go through assigning variables in bash. We cover environment- and shell variables. Assigning integers or strings, while paying attention to comments, quotes and naming convention.
Finally we finish the video with a challenge, for which I'll share the answer in the next video.
#terminal #linux #bash #bashscripting #variables
https://itvraag.nl
Timestamp:
0:00 Intro
0:24 answer to bash challenge1
0:53 environment variables
1:39 naming convention
2:50 assign variable to arguments
3:17 comments
3:46 strings and quotes
4:31 integers
5:06 using system/environment variables
5:19 changing a variable
5:34 applying variables from the command line
5:47 declaring a variable to read-only
5:58 bash challenge2
Previous videos about bash:
Bash #1 - Basics: • Bash #1 - Basic concepts and requirem...
Bash #2 - Help, touch & aliases: • Bash #2 - Help, touch, echo & aliases
Bash #3 - Script files: • Bash #3 - Script files (with challenge)
Watch video Bash #4 - working with variables (with challenge) online without registration, duration hours minute second in high quality. This video was added by user itvraag 23 January 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 126 once and liked it 3 people.