Перейти к содержимому

What is $PATH on a Linux Shell? (The Linux Crash Course Series)

Learn Linux TV

0:00 / 0:00

What is $PATH on a Linux Shell? (The Linux Crash Course Series)

49 383 просмотра · 3 года назад
Learn Linux TV
1,12 млн подписчиков
49 383 просмотра · 3 года назад
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. ⚙️ Grab Jay’s actual Dotfiles! For a small donation, grab a zip file full of configs for Bash, ZSH, Vim, Tmux, i3, Sway (and more)! Curated over a decade, there’s something for everyone. Download here ➜ http://learnlinux.link/jay-dotfiles 📖 Switch to Linux with My Latest Book Thinking about making the jump to Linux? This step-by-step guide will help you choose the right distribution and install Linux with confidence. Start your Linux journey here ➜ https://learnlinux.link/switch-to-linux 🐧 Save up to 30% on Linux Foundation Certifications Whether you're starting a Linux career or advancing your existing skills, Linux Foundation training can help you stand out in a competitive industry. Check out the available courses and certifications, and save! https://learnlinux.link/get-certified 🐧 Get a "Linux Tips" Newsletter Packed with expert tips and strategies, for both desktop and server users. Get yours here: Subscribe here ➜ https://learnlinux.link/linux-tips 📚 Discounts, Courses, Books, and More! (Support Linux Learning) 10% Off Linux Swag! ➜ https://learnlinux.link/swag Get the "Linux Pro-Tips" Newsletter ➜ https://learnlinux.link/linux-tips Grab Jay's ACTUAL Dotfiles! ➜ https://learnlinux.link/linux-tips Switching to Linux Book (15% Off!) ➜ https://learnlinux.link/switch-to-linux Linode Starter Credit ➜ https://learnlinux.link/linode eBook Bundle ➜ https://learnlinux.link/ebook-bundle Ansible Course ➜ https://learnlinux.link/ansible Linux Essentials Course ➜ https://learnlinux.link/linux-essentials Paid Assistance ➜ https://www.learnlinux.tv/request-ass... ❤️ Support the Channel Enjoyed the video? Your support keeps this channel independent! Become a Channel Member (Ad-Free & Early Access) ➜ https://learnlinux.link/join Support on Patreon ➜ https://learnlinux.link/patron ━━━━━━━━━━━━━━━━━━━━━━ 🕐 Time Codes 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*🎓 Learn Linux TV* Your source for Linux-related Fun and Learning! Official website: https://www.learnlinux.tv Community Forums: https://community.learnlinux.tv Official Subreddit: https://learnlinux.link/reddit Facebook Community: https://learnlinux.link/facebook-group More about Jay: https://learnlinux.link/jay 🤝 Affiliate and Content Ethics Some links in this description are affiliate links. If you purchase through them, Learn Linux TV may earn a commission at no additional cost to you. This helps keep the content flowing. https://www.learnlinux.tv/content-ethics ⚠️ Use Content Responsibly Learn Linux TV shares technical content intended to teach and help you, but it comes with no warranty. The channel is not liable for damages resulting from its use. Always ensure you have proper permission, follow organizational policies, protect important data, and comply with applicable laws. #LearnLinux #linux_tutorial #linuxforbeginners