the PATH var of righteousness

preview_player
Показать описание
The PATH environment variable is like a map for navigating the maze that is your file system

What is PATH in linux? How do I update my PATH?

#shorts #linux #computerscience
Рекомендации по теме
Комментарии
Автор

This is the simplest but clearest explanation of what PATH does. Wish i had this years ago when I first started.

blackfie
Автор

You cannot run `dog` if it only wants to have a walk...

ricdotdev
Автор

I honestly think this is the first think one should learn before anything in CS course at all

Maxiker
Автор

Just be sure you're adding to the PATH, not replacing it. Always add "$PATH:" before the directories you're adding. It's not fun to break that.

trebabcock
Автор

Bro named his root directory "wtf" ☠️

mazharansari
Автор

Before this video: Where tf did my dawg go?
After this video: Is my dawg coming back?

shadowind
Автор

related to this, the "which" command tells you where the program you pass it is located in the filesystem.

pival
Автор

Lmao when he said dog, didn’t expect that 😂

echonabin
Автор

Holy shit, this explanation is the clearest and simplest explanation I’ve ever seen of what PATH does. Great work!

bradleypitt
Автор

Fireship is the best computer science and software engineering channel on YouTube. The mix of entertainment and concise yet to the point information is perfect.

Ali
Автор

The worst is when you override your path variable instead of concatenating a new directory 💀

robertfox
Автор

They don't have to be binaries any executables including shell scripts or even Python files with correct hashbang

geeshta
Автор

2 entire days trying to resolve the OpenGL include path failure and then I find this video.

Just… wow

juanma_cello
Автор

I was trying to build an ancient piece of abandonware from source one time, would not reccomend btw. I had to manually unfuck most of the dependencies and got the opportunity to learn far more than I ever wanted about how PATH and cmake work. Part of building it was in fucking docker btw, so it could set up its own comfy little environment to build whatever particular part apparently needed it. You then had to remove that part from the container, and build the rest of the clusterfuck of an application.

The fuckin thing still didn't work after it built after days of smashing my head against it.

Then my boss decided he should maybe just pay for a proper application then try to make the intern suffer to get a decade old unmaintained free version working.

Atoll-okzm
Автор

"which" command is very helpful here to tell a binary's path

Ashish-mzyv
Автор

Can I just say, that your humour is just brilliant

Jason-yrfy
Автор

there's a dog. it's git adog which is an alias for log --all --decorated --oneline --graph - best way to see where you are on the commit tree

vsolyomi
Автор

You should do a video building on this concept and talk about how modules are handled in HPC systems by packages like Lmod!

IsaiahDavis-buin
Автор

Rust version of a few commands are way better.
`lsd` will give you the option of displaying a icon next to it (provided you have a nerdfont for your terminal) which makes is better than `ls`
`bat` will output your data like `cat` but it will apply line numbers and code formatting.

jrcharneycom
Автор

Dude you're hilarious. I love your stuff. Earned a sub in under 5 min and man I can't get enough

tdbla