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
Auf dieser Seite können Sie das Online-Video Creating Dynamic Variables in Bash mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Nick Janetakis 17 Juni 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 860 Mal angesehen und es wurde von 48 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!