What is $PATH on a Linux Shell? (The Linux Crash Course Series)
Do you want to Learn Linux? The Linux Crash Course series contains video lessons on all kinds of Linux commands and concepts. In this episode, we’ll take a look at the concept of $PATH in Linux. You’ll learn what it is, why it’s helpful, and also how to customize it.
Join this channel to get access to perks:
https://learnlinux.link/join
## Support LearnLinuxTV (commission earned):
– Get your own cloud server with Linode ➜ https://learnlinux.link/linode
– Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron
– Check out my latest book, Mastering Ubuntu Server 4th Edition ➜ http://ubuntuserverbook.com
– Check out Shells.com to spin up your very own Linux or Windows desktop in the cloud ➜ https://learnlinux.link/shells
– Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
– Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot
## Individual sections:
00:00 – Intro
00:55 – Spin up your very own Linux server on Linode (sponsor)
02:53 – Looking at an alternate universe, where PATH was never invented
05:47 – What $PATH actually is, and why it’s so useful to have
06:40 – Using a Bash script to further explain PATH
10:29 – Running a script or binary from outside of PATH
11:37 – Finding the path to a command or script
12:21 – Why is your home directory not within PATH by default?
13:23 – Adding a new directory to your PATH
17:48 – How to make changes to PATH survive closing your shell session
## Recommended evergreen videos:
– How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
– Understanding Linux permissions ➜ https://linux.video/perms
– OpenSSH Guide ➜ https://linux.video/ssh
– LVM Deep-dive ➜ https://linux.video/lvm
– How to better secure OpenSSH ➜ https://linux.video/secure-ssh
## LearnLinuxTV Links:
– Main site ➜ https://www.learnlinux.tv
– Community ➜ https://community.learnlinux.tv
## About the host
– Personal blog ➜ https://www.jaylacroix.com
– Twitter ➜ https://learnlinux.link/twitter
## FAQ
– Which distro do I use? ➜ https://learnlinux.link/mydistro
– My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff
Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.
#LearnLinux #linux_tutorial #linuxforbeginners
Views : 11250
linux