Documentation ¶
Overview ¶
our first builtin: cd
The u-root shell is intended to be very simple, since builtins and extensions are written in Go. It should not need YACC. As in the JSON parser, we hope this simple state machine will do the job.
Rush is an interactive shell similar to sh.
Description:
Prompt is '% '.
Time process execution.
Synopsis:
time CMD [ARG]...
Description:
After executing CMD, its real, user and system times are printed to stderr in the POSIX format. CMD can be a builtin, e.g. time cd
Example:
$ time sleep 1.23s real 1.230 user 0.001 sys 0.000
Note:
This is different from bash's time command which is built into the shell and can time the entire pipeline.
Bugs:
Time is not reported when exiting due to a signal.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.