Howto: 3 BASH Variable Types Explained

Поділитися
Вставка
  • Опубліковано 19 гру 2024

КОМЕНТАРІ • 6

  • @Vagelis_Prokopiou
    @Vagelis_Prokopiou 4 роки тому

    Thanks. Informative indeed.

  • @janglestick
    @janglestick 4 роки тому

    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

  • @bbahes
    @bbahes 4 роки тому

    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?

    • @theurbanpenguin
      @theurbanpenguin  4 роки тому +3

      In crontab itself. If you try, as root, systemctl edit sshd -- this will open in nano, use the variable to open in vim. You can also use the editor variable to set nano or any other variable

  • @DeandontstopBrooks-j4t
    @DeandontstopBrooks-j4t 2 місяці тому

    How to get in touch