Bash History Your Linux Command History Explained
Bash, the default shell in the majority of Linux distributions, has countless features and tricks to make you more efficient. In this video, @LearnLinuxTV describes not only how to use the history command, but also some techniques to make better use of it.
Chapters:
0:00 Introduction
0:44 About the ‘History’ Command
4:20 Add Sudo to a Previous Command
5:05 How to Customize the Output of History
8:42 How to Review the last 4 Commands
9:11 How to use History with Grep
10:01 Using Sudo on the Most Recent Command
10:32 Reverse Searching History
11:46 Conclusion
New to Linode? Get started here with a $100 credit!
Read the doc for more information on bash scripting.
Learn more about Bash.
Subscribe to get notified of new episodes as they come out.
#Linode #Linux #ServerMaintenance #VPS
Product: Linode, Linux Basics, Bash, History; @Learn Linux TV ;