Bash is the default shell in the majority of Linux distributions, and it has countless features and tricks to make you more efficient. Bash keeps a history of the commands you've typed at the prompt, but most people aren't aware of additional functionality that the history provides you. In this episode of Linux Crash Course, Jay describes not only how to use the history command, but also some techniques to make better use of it.
*🐧 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 Learn Linux TV and get a Linux Command Cheat Sheet*
For just $3, This brand-new PDF cheat sheet features all the commands you should know, as well as some of Jay's favorite aliases and tweaks!
• Download the PDF here ➜ https://learnlinux.link/linux-commands
*💧 Spin up some Linux Servers with Digital Ocean*
Digial Ocean is a great way to quickly spin up some Linux machines!
• Check it out here ➜ https://learnlinux.link/digitalocean (Affiliate Link)
*🐧 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
00:59 - Get your very own Linux server with Linode (sponsor)
02:15 - Running the history command
03:56 - Re-running a command from the history
05:43 - Re-running a command and prefixing it with sudo
06:33 - Setting up bash history to show the date and time of each command
08:32 - Ignoring history entries that begin with a space
10:17 - Viewing a specific number of history entries
11:58 - Searching the command history via CTRL+r*🎓 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.
#Linux #Bash #LinuxCommands