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



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

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.

SUPPORT LEARN LINUX TV’S AWESOME CONTENT
Note: Commission may be earned for any and all links presented here.
• Become a channel member here on YouTube ➜ https://learnlinux.link/join
• Become a Patron on Patreon ➜ https://learnlinux.link/patron
• Set up your own cloud server with Linode ➜ https://learnlinux.link/linode

SPOIL YOURSELF WITH A LINUX-RELATED GIFT
• Mastering Ubuntu Server 4th Edition (Jay wrote that!!! 😲) ➜ http://ubuntuserverbook.com
• Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
• Awesome 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

LINUX BEGINNERS SHOULD WATCH THESE ESSENTIAL VIDEOS
• How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
• Installing an operating system for Raspberry Pi ➜ https://linux.video/pi-imager
• Understanding Linux permissions ➜ https://linux.video/perms
• Essential tweaks for ALL Linux Servers ➜ https://linux.video/all-servers

BRUSH UP YOUR SKILLS WITH THESE STAND-ALONE TUTORIALS
• OpenSSH Guide ➜ https://linux.video/bash
• How to better secure OpenSSH ➜ https://linux.video/secure-ssh
• 10 Linux Terminal Tips and Tricks to Enhance Your Workflow ➜ https://linux.video/cli-tricks-1
• Over 15 Terminal Tricks You Should Learn ➜ https://linux.video/cli-tricks-2

CHECK OUT THESE LINUX COURSES TO LEVEL UP YOUR TUX POWERS
• Get up to speed with managing an OpenStack Cloud ➜ https://linux.video/openstack
• Learn how to write your own Bash Scripts ➜ https://linux.video/ssh
• Install, configure, and maintain a Proxmox VE Cluster ➜ https://linux.video/pve
• Automate tedious setup jobs by learning Ansible ➜ https://linux.video/ansible
• Learn how to exit vim (and use it too) ➜ https://linux.video/vim

LISTEN TO A GEEKY PODCAST
• Enterprise Linux Security ➜ https://enterpriselinuxsecurity.show
• The Homelab Show ➜ https://thehomelab.show

WORK ON A FUN LINUX PROJECT
• Run your own Gitlab CE Server ➜ https://linux.video/gitlab
• Build a Kubernetes Cluster on Proxmox ➜ https://linux.video/pve-k8s
• Set up your own Nextcloud Server ➜ https://linux.video/nextcloud

VISIT THESE OFFICIAL LEARN LINUX TV SITES
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv

LEARN MORE 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

Comments are closed.