تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح This Bash Trick Makes cd Much More Useful! ضمن كورس Bash Scripting شرح قناة Learn Linux TV، الفديو رقم 20 مجانى معتمد اونلاين
Did you know you can make Bash automatically run ls every time you use cd? In this video, I show a simple but powerful Bash trick that improves your Linux command-line workflow by automatically listing files whenever you change directories.
We start by creating a custom cd function in Bash, then I walk through exactly how it works so you understand what’s happening behind the scenes. This approach helps you learn more about Bash functions, shell behavior, and how to customize your terminal in a practical, real-world way. Once you’ve set this up, navigating directories becomes faster and more informative, especially when working in complex file structures.
As a bonus, I also demonstrate how to create a reusable extract function that can automatically unpack many common archive formats from the command line, saving you even more time.
If you’re looking for useful Bash tips, want to customize your Linux terminal, or enjoy learning small tricks that improve productivity, this video is for you.
━━━━━━━━━━━━━━━━━━━━━━
Switch to Linux with my latest book! (Available Now!)
Thinking about making the jump to Linux? This step-by-step guide will help you choose the right distribution, install Linux with confidence! Purchase your copy here:
https://learnlinux.link/switch-to-linux
━━━━━━━━━━━━━━━━━━━━━━
Save up to 75% 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
━━━━━━━━━━━━━━━━━━━━━━
Support the Channel and Get Awesome Stuff
Books, discounts, shirts and more!
- Switching to Linux Book (New!) https://learnlinux.link/switch-to-linux
- Ansible Course https://learnlinux.link/ansible
- Linux Essentials Course https://learnlinux.link/linux-essentials
- eBook Bundle https://learnlinux.link/ebook-bundle
- Linux Merch Shop https://merch.learnlinux.tv
- Linode Starter Credit https://learnlinux.link/linode
- Paid Assistance https://www.learnlinux.tv/request-assistance
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
Video-specific Links
- "cd" Function code https://learnlinux.link/cd-function
- "extract" Function code https://learnlinux.link/extract-function
━━━━━━━━━━━━━━━━━━━━━━
Time Codes
00:00 – Bash Trick: Auto-ls When Changing Directories
01:25 – Override cd with a Custom Bash Function
05:20 – Support Learn Linux TV and grab some Linux Swag
06:45 – Bonus: Create an extract Function in Bash
━━━━━━━━━━━━━━━━━━━━━━
Learn Linux TV
Your source for Linux-related Fun and Learning!
https://www.learnlinux.tv
https://community.learnlinux.tv
https://learnlinux.link/jay
━━━━━━━━━━━━━━━━━━━━━━
Affiliate Notice
Some of the links mentioned in this description are affiliate links. If you purchase through them, it 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 any damages from its use. Always ensure you have proper permissions, follow company policies, and comply with all applicable laws while working with technology.
#Linux #commandline #linuxterminal