This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
cmd:echo [2011/03/23 19:28] mcb30 |
cmd:echo [2011/03/27 11:53] mcb30 |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Synopsis ===== | ===== Synopsis ===== | ||
- | echo [...] | + | echo [-n] [...] |
===== Examples ===== | ===== Examples ===== | ||
Line 18: | Line 18: | ||
echo MAC address is ${net0/mac} | echo MAC address is ${net0/mac} | ||
+ | |||
+ | === Ask the user to supply a filename === | ||
+ | |||
+ | echo -n Enter boot filename: | ||
+ | read filename | ||
===== Description ===== | ===== Description ===== | ||
Line 27: | Line 32: | ||
iPXE> echo ${filename} | iPXE> echo ${filename} | ||
http://boot.ipxe.org/demo/boot.php | http://boot.ipxe.org/demo/boot.php | ||
+ | |||
+ | If the ''-n'' option is specified, then the trailing newline will not be printed. | ||
===== See also ===== | ===== See also ===== |