You can potentially use this to help reduce a bunch of if conditions.
Hit the subscribe button to receive more videos like this!
REFERENCE LINKS
---------------------------------------------------
► https://nickjanetakis.com/blog/creati...
► https://www.gnu.org/software/bash/man...
COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.
► https://nickjanetakis.com/courses/
THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-to...
FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter: / nickjanetakis
► GitHub: https://github.com/nickjj
TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:41 -- Boilerplate for the demo script
1:30 -- Creating a new variable to reference a dynamic name
2:06 -- Getting the value of the dynamic variable name
2:50 -- This could have been solved with an if statement instead
On this page of the site you can watch the video online Creating Dynamic Variables in Bash with a duration of hours minute second in good quality, which was uploaded by the user Nick Janetakis 17 June 2024, share the link with friends and acquaintances, this video has already been watched 860 times on youtube and it was liked by 48 viewers. Enjoy your viewing!