Linux Crash Course – Bash Aliases



Linux Crash Course – Bash Aliases

Linux Crash Course - Bash Aliases

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.

🐧 Visit the official LearnLinuxTV forums and hang out with fellow Penguins ➜ https://community.learnlinux.tv

Check out Jay’s latest book. Covers Ubuntu 22.04!
– Mastering Ubuntu Server, 4th Edition ➜ https://ubuntuserverbook.com

SUPPORT LEARN LINUX TV
Note: Commission may be earned for any and all links presented here.
– 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 jay’s latest book, Mastering Ubuntu Server 3rd Edition ➜ http://ubuntuserverbook.com
– 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

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/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

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/bash
• 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.

#bash #linux #cli

Comments are closed.