Create Read-Only AKA Immutable Variables in Bash

Опубликовано: 07 Октябрь 2024
на канале: Nick Janetakis
272
24

Clarifying your intent and getting interpreter protection from accidental overwrites is nice.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------
► https://nickjanetakis.com/blog/create...

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:16 -- Locally scoped read only variables in a function
1:13 -- Use cases for using read only variables
1:52 -- Read only variables outside of a function
3:12 -- Making it POSIX compliant
5:16 -- You can't unset read only variables