lc-shell
lc-shell copied to clipboard
A couple suggested small additions (HISTFILESIZE default and "cd -")
Two additional tidbits that I think students might find valuable:
- Give an example (probably in "Working with files and folders") of using
cd -as kind of like a command line ALT + Tab to cycle back and forth between the current and previous directory - Mention (in the "History" section) that Bash defaults to saving a user's last 500 commands. So the command history will be truncated in relative short order if you're a heavy shell user.
I wonder if it would be a bit easier when teaching about history to pipe it into a tail command. This would allow instructors to only show the last ten commands of so. Something like: history | tail -n 10