Here is the video version, if you prefer it:
We looked at history and variables. In particular, we looked at:
- history is used to look at history; use
CTRL + R
for reverse search in history andCTRL + J
to copy the command to your clipboard - Dot files (files whose filenames begin with a dot) are hidden by default
- Variables are named parts of computer memory where values are stored
- Environment variables are variables passed to the shell by the operating system
- Shell variables are local to the shell
- Command path stores all of the places to look for executables
- Interactive shells require user input, non-interactive don’t
- Login shells exist to do some things only once
- Your Terminal application is an interactive, non-login shell
- Place almost all changes you want permanently in
.bashrc
file in your home directory
Let’s carry on with our Linux journey!
NewsletterUpdates on interesting things I am doing
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.