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
Sur cette page du site, vous pouvez voir la vidéo en ligne Creating Dynamic Variables in Bash durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Nick Janetakis 17 juin 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 860 fois et il a aimé 48 téléspectateurs. Bon visionnage!