Skip to main content.
Navigation:
DENX
>
U-Bootdoc
>
CommandInterpreters
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
U-Bootdoc
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
U-Bootdoc Home
Presentation
Changes
Index
Search
Go
List of pages in U-Bootdoc
Search
%SECTION0{NAME=CommandInterpreters}% Command Interpreters Two command line interfaces: * Simple (old) command interpreter: * sequential statements * statements separated by newline or ';' * no conditional execution except simple builtin rules: * ="run cmd1; run cmd2; run cmd3"= <br> will always run all three commands * ="run cmd1 cmd2 cmd3"= <br> will stop when a command fails * "scripts" (canned sequences of commands) avaialble using ="autoscr"= command <br><br> * Hush Shell (from Busybox, see http://www.busybox.net/): * Bourne Shell compatible * (local) shell variables (="name=val"=), (global) environment variables (="setenv name val"=) * Conditionals: ="if ... then ... else ... fi"= * Control loops: ="for ... do ... done"=, ="while ... do done"=, ="until ... do ... done"= * Control operators: =&&= and =||= (=AND= and =OR= lists: ="command1 && command2"=) * real shell scripts <br><br> * no functions * no command substitution * no backquotes
1.9. Boot Options
1. Abstract
1.11. Standalone Programs
Prev
Home
Next