Module oursh::program::posix::builtin

source ·
Expand description

Commands that are run from the shell directly, without forking another process.

These commands take precedence over any executables with the same name in the $PATH.

Structs

  • Change directory (cd) builtin.
  • Command builtin, I have no idea why you’d want this honestly.
  • Execute commands from file in the current environment
  • Exit builtin, alternative to ctrl-d.
  • Export builtin, used to set global variables.
  • Background job information.
  • Noop builtin, same idea as true.
  • Wait builtin, used to block for all background jobs.

Traits

  • A builtin is a custom shell command, often changing the state of the shell in some way.