MENU

Fun & Interesting

Linux Crash Course - Bash Aliases

Learn Linux TV 27,679 4 years ago
Video Not Working? Fix It Now

Aliases in Bash enable you to essentially create your own commands, or even just simplify existing ones. In this video, I'll explain what aliases are, and I'll show you some of my personal favorites. At the end, I'll show you how to make your aliases persist between sessions. *🐧 Donate to Learn Linux TV and Receive a PDF with tips for switching to Linux* Contains over 40 pages of tips and recommendations to help make your transition easier! Check it out here ➜ https://learnlinux.link/linux-desktop-tips *🐧 Support Linux Learning and spin up your very own Linux Server!* Get $200 in credit over 60 days with your new account you can put toward creating your own Linux instances for learning or for powering your business infrastructure. 💧 Check out Digital Ocean here ➜ https://learnlinux.link/digitalocean *🐧 Support Learn Linux TV* • Channel Membership ➜ https://learnlinux.link/member • Patreon ➜ https://learnlinux.link/patron • Spin up your very own Linux server ➜ https://learnlinux.link/digitalocean • Linux swag ➜ https://merch.learnlinux.tv • Check out Netdata ➜ https://learnlinux.link/netdata • Jay's Gear ➜ https://learnlinux.link/amazon _Note: Royalties and/or commission is earned from each of the above links_ #*⏰ TIME CODES* 00:00 - Intro 01:08 - The alias command 03:27 - Removing an alias 04:46 - Alias example 1: Simplify the output of the df command 07:14 - Alias example 2: Simplify the output of the mount command 08:31 - Alias example 3: Showing your external IP 09:22 - Alias example 4: Simplifying the installation of packages 10:47 - Alias example 5: Simplifying the command for upgrading packages 11:53 - Alias example 6: Running an Internet speed test 13:36 - Alias example 7: Checking CPU and memory usage 14:51 - Retaining aliases even after closing your session *Video Specific Links* - Official blog post for this video ➜ https://www.learnlinux.tv/?p=1054 *Stand-Alone Tutorials* • OpenSSH Guide ➜ https://linux.video/ssh • 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 *🎓 Full Linux Courses* • Linux Crash Course ➜ https://linux.video/cc • tmux ➜ https://linux.video/tmux • vim ➜ https://linux.video/vim • Bash Scripting ➜ https://linux.video/bash • Proxmox VE ➜ https://linux.video/pve • Ansible (Udemy) ➜ https://learnlinux.link/ansible • Linux Essentials (Udemy) ➜ https://learnlinux.link/linux-essentials *🎓 More About Learn Linux TV* • Main site ➜ https://www.learnlinux.tv • Community Forums ➜ https://community.learnlinux.tv • Github Account ➜ https://github.com/LearnLinuxTV • Content Ethics ➜ https://www.learnlinux.tv/content-ethics • Request Paid Assistance ➜ https://www.learnlinux.tv/request-assistance *⚠️ Disclaimer* Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws. #bash #linux #cli

Comment