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.
## 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 3rd 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
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
## 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
#bash #linux #cli
0 Comments