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
In questa pagina del sito puoi guardare il video online Creating Dynamic Variables in Bash della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Nick Janetakis 17 giugno 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 860 volte e gli è piaciuto 48 spettatori. Buona visione!