the actual list of directories of that variable is in /etc/environment if anyone is wondering. There you can set new shared path for all users not just you
Great content as usual, and i really appreciate the redesign of the set. it’s perfect now! the silver wall stuff with the triangles was a little hard to look at, but the wood paneling and tech create a really pleasing harmony
Thank you very much that video was excellent! You really have a talent for making all things Linux easy to understand and you put a great deal of effort into creating your content.
/usr stand for "Universal System Resource", not User. There is a discussion of this is a deprecation of the /user and then later become /home. But be aware this is a tricky professor/teach test question.
THANK YOU! i knew some of this threw my wanderings but i never understood it! its like magic, if you know the commands you can manipulate them with out understanding. but it nicer to understand and you can manipulate the event further and create things permanently.
I have outgrown this tutorial-series but it is great for newcomers to Linux to have this handed on a silver plate. I will definitely refer new Linux-users to this series.
Hi Jay, thanks for the great video. I really appreciate your videos. Do you plan on making a video about terminal colors? Currently I'm trying to wrap my head around all this $TERM, xterm-256color, true color, terminfo database, tic, escape sequence stuff and it's very confusing. Especially when you want all of this to work with ssh and tmux. I think that a lot of people would be interested in such a video.
Thanks Jay! Could you please come up with another video explaining how to add global variable PATH using /etc/environment and /etc/profile files detailing dis/advantages of each?
Do not change your PATH in .bashrc. Instead, change it in .profile or .bash_profile (depending on your distribution). That way, it is defined as soon as you log in. You then can also run your commands e.g. from a run prompt (Alt+F2) or from a shortcut key without having to define the full path.
@iowahank Yeah that's pretty common for big distros like Ubuntu that use bash. If you use something like Arch, you usually have to edit the PATH yourself.
Your detailed explanations are very instructive. Could you please publish two seperate videos on : file / directory date manipulation and attrib command 'all features'. Thank You.
idk why i bothe ryou dont answer but...@16:16 why can't you append ~/bin >>$PATH ? or could you also do that? guess i would try it myself but i would surely mess it all up
Have you done a series on BASH scripting? Would quite like one of those. Have no experience with it there are some commands written in terminal that I do over and over, one after the other and would quite like a way to BASH script it.
As always a great clear bitesize video. Recently we had a challenge of trying to understand where to put our persistent PATH setting and got multiple answer which I hopped this might clarify, but sadly not deep enough video and thus I ask in hope of deep one maybe next :) If I want to set the PATH to include a new path location there appears to be any number of different files/profiles/bashrc to use but I cant find any decent guide on which file to use when? Do you have any recommende dlinks to read up on please? Use case is login as UserA ensure has PATH including /usr/local/bin but which bash profile do/should you edit to ensure? ~/.bashrc ~/profile /etc/profile and others I am seeing makes for confusion? Futher more I also ned to ensure the PATH /usr/local/bin exists for ROOT when I sudo - , again which profile file should i edit to ensure ?
Do you have any clue about how to connect a Garmin GPS device and run garmin express to update the device in a Linux Mint 20.3 MATE OS without considering Windows dual boot and windows stuffs in wine or openbox virtual machine? Is there any other way perhaps using the CLI to update the device?
Jay:?????, recently started using POP-OS as my daily driver but noticed cannot down arrow in nano anymore?? Cursor goes left and right and up OK but not down, and yes down arrow works ok every where else!! Having to use 'gedit' to change my, for example, 'bashrc' file. Any thoughts? NB, I've always created my bin directory in home and then logged out and back in to get it into my PATH automatically. Good video and well explained. ATB
Question: does bash check the path variables in the order they are listed in $PATH? So if you had two programs with the exact same name, but in different Path locations, which would it run?
Hey, new Linux user here, First of all, great video very informative and conceise but unfortunately I encountered a situation which you didn't touch on... The issue is that I Ve installed a game (fheroes2) which came in a tar.gz which I unpacked in home/games...after installing the dependencies it ran fine so I wanted to be able to run it from the terminal...so I added the dir to Path and it launched but with an error saying it can't find some necessary files...didn't take me long to figure out that subdirs are not added to PATH therefore the game doesn't find them and throws the error...I checked online and apparently there is some terminal magic to add dirs and their subdirs recursively but it is not recommended to do that... Sooo...how do I make the game launchable with just one command from the terminal the right way
I am trying to use environment variables in .directory files, for apps pcmanfm-qt an dolphin file manager. I thought I was doing it right but it does not work. I have a work around using soft links but I rather use a $HOME or $PWD variable then point to the png file I need to use. Any ideas on why I can't get it to work? I know if I put the full path /home/username/Music/album/pic.png this works, but I want to use variables so if I put on another computer it will work universally via env,variable. please help if you can. thanks.
Path to enlightenment: We observe two parts of the universe interacting with each other, yourself and everything else. Pay attention to them both, decide what you want to do for one or the other. Do your best. Whether it gets done or not is up to the universe as a whole. So long as you know in your heart that you tried, you’ll have done everything you can. You can rest easy knowing you fulfilled your purpose.
This $path and the one of enlightenment are similar in that they require some conscious to pseudo-move to increase the tactile senses in any living creature. I call it 25. Many only rely and replenish 5 but leave 2 alone till its too late.
I really enjoy watching your videos. These should be there years ago for me! ;) You may consider doing "UA-cam Shorts" for every command to reach even more potential users. Keep on making great videos.
the actual list of directories of that variable is in /etc/environment if anyone is wondering. There you can set new shared path for all users not just you
Thanks!
Standalone videos really help get to our Linux goals, can't thank you enough for this Jay, I owe you a dinner.
NICE work! I like your style of being on point without chasing 10 possible ways. Calm and articulate enhances the ease to follow. Thank you.
Great content as usual, and i really appreciate the redesign of the set. it’s perfect now! the silver wall stuff with the triangles was a little hard to look at, but the wood paneling and tech create a really pleasing harmony
Thank you very much that video was excellent! You really have a talent for making all things Linux easy to understand and you put a great deal of effort into creating your content.
Glad it helped!
Wow! It's amazing how much I've learned from short little video. Big thanks!
Superb content Jay.
Awesome video Jay thank you for taking the time to make them. I can not even begin to tell you how much I have learned from you! Thanks again!
/usr stand for "Universal System Resource", not User.
There is a discussion of this is a deprecation of the /user and then later become /home.
But be aware this is a tricky professor/teach test question.
THANK YOU! i knew some of this threw my wanderings but i never understood it! its like magic, if you know the commands you can manipulate them with out understanding. but it nicer to understand and you can manipulate the event further and create things permanently.
Awesome, I wouldn't thought that this "." can be that "/", it reminids me of simplicity of things.
Thanks a lot, your way of thinking is amazing.
As always Jay, great video!
This type of content is very useful. Short and to the point. Thanks!
Great video! Just what I needed.
Thanks a lot Jay brilliant as usual.
Thanks Jay, clear and concise.
Thank you! Great video. Very helpful
I have outgrown this tutorial-series but it is great for newcomers to Linux to have this handed on a silver plate. I will definitely refer new Linux-users to this series.
This video is so perfect! 🙏🔥
Great video very educational and easy to understand. My question is where's the best place to install programs?
fantastic video thank you!
Greate content. Thanks for help and lots of appreciation.
Great content..thanks so much
Thank you, keep the awesome work!
This is interesting video. Full of information.
It did made it easy for me. Thank you so much!
Hi Jay, thanks for the great video. I really appreciate your videos.
Do you plan on making a video about terminal colors? Currently I'm trying to wrap my head around all this $TERM, xterm-256color, true color, terminfo database, tic, escape sequence stuff and it's very confusing. Especially when you want all of this to work with ssh and tmux. I think that a lot of people would be interested in such a video.
Thanks Jay!
Could you please come up with another video explaining how to add global variable PATH using /etc/environment and /etc/profile files detailing dis/advantages of each?
clean and clear than u so much🎉
thank you very much! i subscribed to your channel
Thank this was helpful
Great content and great video. However, you forgot the ";" in your new if statement.
fabu as always Jay!
Do not change your PATH in .bashrc. Instead, change it in .profile or .bash_profile (depending on your distribution). That way, it is defined as soon as you log in. You then can also run your commands e.g. from a run prompt (Alt+F2) or from a shortcut key without having to define the full path.
Good advice. Use .zprofile for ZSH.
@iowahank Yeah that's pretty common for big distros like Ubuntu that use bash. If you use something like Arch, you usually have to edit the PATH yourself.
One challenge for many users is to remove some link from the PATH after adding it. Please make a video on that topic as well. thanks.
Nice but at the end of the if statement... because the then was on a new line was that the reason the semicolon was omitted?
Your detailed explanations are very instructive. Could you please publish two seperate videos on : file / directory date manipulation and attrib command 'all features'. Thank You.
Great Video
idk why i bothe ryou dont answer but...@16:16 why can't you append ~/bin >>$PATH ? or could you also do that? guess i would try it myself but i would surely mess it all up
Have you done a series on BASH scripting? Would quite like one of those. Have no experience with it there are some commands written in terminal that I do over and over, one after the other and would quite like a way to BASH script it.
Pretty good, thank You!
Was that laptop the System76/HP combo next to You?
I want to say thank you, u made the perfect explanation of $PATH, for sure Subscribe and share
Thanks
As always a great clear bitesize video. Recently we had a challenge of trying to understand where to put our persistent PATH setting and got multiple answer which I hopped this might clarify, but sadly not deep enough video and thus I ask in hope of deep one maybe next :)
If I want to set the PATH to include a new path location there appears to be any number of different files/profiles/bashrc to use but I cant find any decent guide on which file to use when? Do you have any recommende dlinks to read up on please?
Use case is login as UserA ensure has PATH including /usr/local/bin but which bash profile do/should you edit to ensure? ~/.bashrc ~/profile /etc/profile and others I am seeing makes for confusion? Futher more I also ned to ensure the PATH /usr/local/bin exists for ROOT when I sudo - , again which profile file should i edit to ensure ?
So to run the `mycmd` script without locating in `bin` we could also run `bash mycmd`, correct?
The "secret" to the other path is within the breath :)
Thankkkkkk youuuuuuuuuu
Awesome!!!
Do you have any clue about how to connect a Garmin GPS device and run garmin express to update the device in a Linux Mint 20.3 MATE OS without considering Windows dual boot and windows stuffs in wine or openbox virtual machine? Is there any other way perhaps using the CLI to update the device?
Jay:?????, recently started using POP-OS as my daily driver but noticed cannot down arrow in nano anymore?? Cursor goes left and right and up OK but not down, and yes down arrow works ok every where else!! Having to use 'gedit' to change my, for example, 'bashrc' file. Any thoughts?
NB, I've always created my bin directory in home and then logged out and back in to get it into my PATH automatically. Good video and well explained. ATB
You are the boss
Question: does bash check the path variables in the order they are listed in $PATH?
So if you had two programs with the exact same name, but in different Path locations, which would it run?
yes it follows each directory in order
Make video on copy data from linux server to Gdrive
God bless you for this wonderful learning. You're one of the best hearted Persons and explain each and every aspect. Learning a lot from your videos.
Hey, new Linux user here,
First of all, great video very informative and conceise but unfortunately I encountered a situation which you didn't touch on...
The issue is that I Ve installed a game (fheroes2) which came in a tar.gz which I unpacked in home/games...after installing the dependencies it ran fine so I wanted to be able to run it from the terminal...so I added the dir to Path and it launched but with an error saying it can't find some necessary files...didn't take me long to figure out that subdirs are not added to PATH therefore the game doesn't find them and throws the error...I checked online and apparently there is some terminal magic to add dirs and their subdirs recursively but it is not recommended to do that...
Sooo...how do I make the game launchable with just one command from the terminal the right way
Thanks!!! I finally get it. Lol
L love 💕 the PATH you are tech
I am trying to use environment variables in .directory files, for apps pcmanfm-qt an dolphin file manager. I thought I was doing it right but it does not work. I have a work around using soft links but I rather use a $HOME or $PWD variable then point to the png file I need to use. Any ideas on why I can't get it to work? I know if I put the full path /home/username/Music/album/pic.png this works, but I want to use variables so if I put on another computer it will work universally via env,variable. please help if you can. thanks.
Great
cool
can you give me your version ios file?
Path to enlightenment: We observe two parts of the universe interacting with each other, yourself and everything else. Pay attention to them both, decide what you want to do for one or the other. Do your best. Whether it gets done or not is up to the universe as a whole. So long as you know in your heart that you tried, you’ll have done everything you can. You can rest easy knowing you fulfilled your purpose.
If you move the Buddha from the corner hidden behind everything to the forefront as he used to be.... might help with that path to enlightenment... 😉
This $path and the one of enlightenment are similar in that they require some conscious to pseudo-move to increase the tactile senses in any living creature. I call it 25. Many only rely and replenish 5 but leave 2 alone till its too late.
I rub 5 all over myself and 2 is saved for when I am feeling extra spicy.
I guess its where you earn how to get money typing codes, right?...
finally i understand path after 7 useless videos lol
I really enjoy watching your videos. These should be there years ago for me! ;)
You may consider doing "UA-cam Shorts" for every command to reach even more potential users.
Keep on making great videos.