For me I think it's better to use .profile instead of .bashrc because it's shell specific because many people may use other shell (zsh, fish). So for shell independent case use .profile then source it so it will automatically assign the env variable whenever you login.
Rather than having to close everything and open it back up you could just use "exit" and it would take you back to your login if you're just in the TTY. Or even easier you could use the "exec" command (execute) and start a new bash session such as `exec bash` which will close your current session and open a new one which is not the same as opening a sub-shell or child shell. In a child shell, opened by using just `bash` to open it, using `exit` would take you back to your parent shell which still has the temporary variable. I can't remember if child shells inherit session variables but I'm pretty sure they do. P.S. Using just `.` is a built-in alias for `source` so you can just type `. .bashrc` to source the file.
This is great information in trying to VIM echo an Orange Pi5 to setup and test the GPIO PWM pins to control the servo Pan/Tilt motors. 😎 Thank you root@orangepi:~# echo 0 > /sys/class/pwm/pwmchip2/export root@orangepi:~# echo 1000000 > /sys/class/pwm/pwmchip2/pwm0/duty_cycle root@orangepi:~# echo 20000000 > /sys/class/pwm/pwmchip2/pwm0/period root@orangepi:~# echo 1 > /sys/class/pwm/pwmchip2/pwm0/enable
Bro you leaked your IP multiple times in this Video. I hope for you it doesnt correspond to Aurora in Canada because thats whats the estimated IP Location says
Such a clear explanation of environmen variables. Love to know more from you sir. Keep going
AMAZING VID! currently doing the RHCSA course and didn't quite understand this chapter, this helped a lot appreciate it!
Very helpful explanation! Commenting for the algorithm so others can discover this too
For me I think it's better to use .profile instead of .bashrc because it's shell specific because many people may use other shell (zsh, fish). So for shell independent case use .profile then source it so it will automatically assign the env variable whenever you login.
SUUUPER helpful 4 months later so thank you for this!
Thanks. I was wondering cuz I use .tcshrc
Exactly what I needed. Thanks!
Rather than having to close everything and open it back up you could just use "exit" and it would take you back to your login if you're just in the TTY. Or even easier you could use the "exec" command (execute) and start a new bash session such as `exec bash` which will close your current session and open a new one which is not the same as opening a sub-shell or child shell. In a child shell, opened by using just `bash` to open it, using `exit` would take you back to your parent shell which still has the temporary variable.
I can't remember if child shells inherit session variables but I'm pretty sure they do.
P.S. Using just `.` is a built-in alias for `source` so you can just type `. .bashrc` to source the file.
Thank you so much for this series!
This helped me, thanks a lot!
Nice clear explanation. Thanks
You make some good videos, I gotta say for others, after editing the ~.bashrc, you can just type bash or . .bashrc.
Perfect. Thank you!
Great Saved my Day
great explanation !
thank u found it really useful
Great explanation!
Good video!
Thank you.
It worked!. Thank you sir
i learnt alot, thank you
Thank you
that is really good content
Very nice!
what about the set command ?
Is this Tech For Tim? Sounds like him lol
That's him!
Thanks!
Nice 1
This is great information in trying to VIM echo an Orange Pi5 to setup and test the GPIO PWM pins to control the servo Pan/Tilt motors. 😎 Thank you
root@orangepi:~# echo 0 > /sys/class/pwm/pwmchip2/export root@orangepi:~# echo 1000000 > /sys/class/pwm/pwmchip2/pwm0/duty_cycle
root@orangepi:~# echo 20000000 > /sys/class/pwm/pwmchip2/pwm0/period root@orangepi:~# echo 1 > /sys/class/pwm/pwmchip2/pwm0/enable
Bro you leaked your IP multiple times in this Video. I hope for you it doesnt correspond to Aurora in Canada because thats whats the estimated IP Location says
bro, just showed his ip ... XD