Intro
Intro
Everyday shell built-ins and small utilities for output, history, name resolution, environment, timing, and the directory stack. Deeper programming belongs in Scripting → Bash (this book).
Commands in this part
| Command | Role |
|---|---|
echo |
echo writes its arguments to standard output, separated by spaces, usually followed by a newline. |
printf |
printf formats and prints arguments using a format string, like C’s printf. |
history |
history shows the shell’s command history list (bash). |
| type / command | type explains how the shell will resolve a name — alias, keyword, function, builtin, or external file. |
export |
export marks shell variables for the environment so child processes inherit them. |
time |
time runs a command and reports how long it took. |
| pushd / popd / dirs | pushd, popd, and dirs maintain a directory stack in bash. |
Suggested starting points
- Print:
echo,printf. - Recall:
history. - What is this name?:
type/command. - Environment:
export(see alsoenvin System information). - Measure:
time; navigate:pushd/popd/dirs.