Howto: 3 BASH Variable Types Explained

preview_player
Показать описание
Truly be able to master the Linux command line requires that you master variables at the shell and how they are used. We have local variables to the shell, environment variables and command variables. Learn the differences now and master the Linux shell
Рекомендации по теме
Комментарии
Автор

very interesting especially about the command variables, what an efficient way to override defaults and experiment without messing up your env or having to relog, that will be super useful. Does there exist a way to set multiple vars going in? ( also, the idea that you have to export variables out into the bigger context seems largely missing from the Windows experience, I guess bc of the workstation model, so i think it's general purpose and necessity mystifies a lot of ppl. its just something they stumble into and then copy paste to resolve, never knowing why. its always good to clarify the 'unix way' ) thanks again

janglestick
Автор

In CentOS 8.1 I don't see EDITOR variable set, yet when I try crontab -e I see it uses vim. Where is this configured?

bbahes