help

Display a reference of all fortsh builtins and keybindings.

Source: src/execution/builtins.f90:1653-1749

Synopsis

help

Description

Prints a categorized list of every builtin command along with a brief description of each. Also lists interactive keybindings at the end.

Unlike bash's help, fortsh's version does not accept a command name argument — it always displays the full reference. For detailed usage of a specific builtin, see the builtins documentation.

Output

The output is organized into these sections:

SectionCommands
Navigation & Directoriescd, pwd, pushd, popd, dirs, prevd/nextd, dirh
Variables & Environmentexport, unset, readonly, declare, local, printenv, set, shopt
I/O & Formattingecho, printf, read
Job Controljobs, fg, bg, kill, wait, coproc
Shell Featuressource/., eval, exec, command, type/which, hash, trap, history, fc, alias/unalias, abbr, config
Scripting & Control Flowtest/[/[[, if, for/while/until, case, break/continue, return, shift, getopts, let, :
Systemumask, ulimit, times
Completioncomplete, compgen
Otherperf, memory, help, exit

After the command table, a list of interactive keybindings is shown (e.g., Ctrl+R for reverse search, Tab for completion).

Exit Status

StatusCondition
0Always succeeds

See Also