Only you can make learning so much fun, the only reason I started on Linux was watching your videos. Thanks Andrew for taking the time to help so many people who want to learn.
You strike exactly the point of my current interest. I am currently reading and searching for information about the different variables in Linux, their scope and about the differences between environment variables and shell variables and the differences between commands like set and env. Many authors write or say that there are two types of variables: shell variables and environment variables. One author writes that there are three types of variables in Linux: environment variables, shell variables and local variables. I try to understand all those facts thoroughly. Thanks for your video! It's very good.
@@theurbanpenguin It's not a comment on your teaching. But I wonder why I have currently difficulties to understand all differences or kinds of variables, although I knew some programming languages and their concepts. IMO those difficulties to understand have to do with the fact that most authors mention that there are different variable types and than dive into the handling of commands like set, env, printenv, export or output of variables with echo etc. But to really get it I personally need first a clear overview. I need to know the available boxes very clear, before the book or teacher dives in one of those boxes and rummages in edges of one box. This is not about your teaching style, in the current moment I only try to understand why the heck it takes so long for me to understand such simple things. I guess, it's because before I really get the whole picture from a bird's-eye view the teacher or book is -- or I am -- in details about particular commands and situations, so that I never memorize a clear view of the whole and every time get lost in details.
This was excellent 👍. Is any of this material actually documented in the MAN pages or any other official Linux documentation - where does a new user go to learn these details in the absence of nice videos like this one?
Hello, you done a great job I've learn a lot from you. I got a question about static IP address on ubuntu, I try to install newest Ubuntu Server after few years and i stuck with new manager, I try look for answers on your video about configuring static IP on ubuntu 12.10 it's little outdated :( Can we expected updated version on newest distro? :)
I see you changed the Logo for the Urban Penguin. Did somebody complain? If so, I kinda figured it would be only a matter of time. That's unfortunate. I liked it..! I didn't find it offensive at all as a person of color. Cheers! btw. great videos!
@@theurbanpenguin This seems to be a case of a subshell accessing a regular variable: drink=tea echo $drink # same shell, gives 'tea' (echo $drink) # subshell, gives 'tea'
@@MichaelSalo parentheses evaluate the output of a command a feed it into a temporary or unnamed variable. The command is executed in the current shell hence your local variable works
Only you can make learning so much fun, the only reason I started on Linux was watching your videos.
Thanks Andrew for taking the time to help so many people who want to learn.
Thanks Matthew
You strike exactly the point of my current interest. I am currently reading and searching for information about the different variables in Linux, their scope and about the differences between environment variables and shell variables and the differences between commands like set and env.
Many authors write or say that there are two types of variables: shell variables and environment variables. One author writes that there are three types of variables in Linux: environment variables, shell variables and local variables.
I try to understand all those facts thoroughly.
Thanks for your video! It's very good.
Thank you
@@theurbanpenguin It's not a comment on your teaching. But I wonder why I have currently difficulties to understand all differences or kinds of variables, although I knew some programming languages and their concepts.
IMO those difficulties to understand have to do with the fact that most authors mention that there are different variable types and than dive into the handling of commands like set, env, printenv, export or output of variables with echo etc.
But to really get it I personally need first a clear overview. I need to know the available boxes very clear, before the book or teacher dives in one of those boxes and rummages in edges of one box.
This is not about your teaching style, in the current moment I only try to understand why the heck it takes so long for me to understand such simple things. I guess, it's because before I really get the whole picture from a bird's-eye view the teacher or book is -- or I am -- in details about particular commands and situations, so that I never memorize a clear view of the whole and every time get lost in details.
Best instructor I've come across!!!
What an excellent teacher you are Andrew!
That is so kind, thank you
Sir, You are a Master of your trade!!! Thank God for teachers like you. Shalom from Israel💯🦁🗣
Thank you Mr. Mallett!
you are the Best how to explain is easy and Highly Recommended
Thank you 🙏
that was an excellent video, thank you very much for your time to make this video.
Awesome stuff as usual. Thank you!
Wonderful @urbanpenguin
Thank you
This was excellent 👍. Is any of this material actually documented in the MAN pages or any other official Linux documentation - where does a new user go to learn these details in the absence of nice videos like this one?
The bash man page does help but it is a long read linux.die.net/man/1/bash
Thank you sir, hope there will be more soon!
You bet!
how about more deep overview of env and path variables?pam_environment, xserver, etc
Great video. Thank you very much.
Nice vid! could you do a presentation "how to make dynamic names for variables" and how to call those in script...
Dude you're a legend !
Thanks
Fantastic content
Thanks
Hello, you done a great job I've learn a lot from you. I got a question about static IP address on ubuntu, I try to install newest Ubuntu Server after few years and i stuck with new manager, I try look for answers on your video about configuring static IP on ubuntu 12.10 it's little outdated :( Can we expected updated version on newest distro? :)
Thanks 20.04 and 18.04 use netplan for their ip configuration
I see you changed the Logo for the Urban Penguin. Did somebody complain? If so, I kinda figured it would be only a matter of time. That's unfortunate. I liked it..!
I didn't find it offensive at all as a person of color. Cheers! btw. great videos!
The compiler should show a warning since you need to return int but you return void
But it didn't
add -Wall to see all warnings
You set your drink environment variable incorrectly. It should be drink=coffee
Of course, I let myself down
@@theurbanpenguin great video, by the way. I learned a lot.
Very nice. Thanks
So nice of you
Esc+. a good trick learnt
Thank you
Thanks!
Welcome!
Awesome
Thank you
Now `CROSS_COMPILE=arm-linux- make` makes sense... 😲
For sure, TBH I have never tried the cross compile. I have heard of it but never done it. Now is the time to try and run on my RPi. Thank you
It seems like variables are available to subshells in this form. (echo $drink)
Only environment variables. Those that have been exported
@@theurbanpenguin This seems to be a case of a subshell accessing a regular variable:
drink=tea
echo $drink # same shell, gives 'tea'
(echo $drink) # subshell, gives 'tea'
drink=tea
echo $drink
bash
echo $drink
Drink is not available unless it is exported or set in the bashrc file.
@@theurbanpenguin I guess there are different kinds of subshell. Some would say parentheses are a form of subshell.
@@MichaelSalo parentheses evaluate the output of a command a feed it into a temporary or unnamed variable. The command is executed in the current shell hence your local variable works