Shell Variables
The history variable is a shell variable. This allows the user to go through the commands he/she has entered during that session.
% echo $history
In order to change the number of shell commands to be stored in the History, we can use the set command.
% set history = 55
Some other examples of shell variables are
- path
- home
- current working directory (cwd)
- prompt