From 1d8f6485828b1b2f924dddccd74bc225fb531d1a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 5 Oct 2013 17:41:30 -0600 Subject: Documentation update --- nuttx/Documentation/NuttShell.html | 264 +++++++++++++++++++++++-------------- 1 file changed, 168 insertions(+), 96 deletions(-) diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html index b8d59a09b..a701453d8 100644 --- a/nuttx/Documentation/NuttShell.html +++ b/nuttx/Documentation/NuttShell.html @@ -8,7 +8,7 @@

NuttShell (NSH)

-

Last Updated: July 18, 2013

+

Last Updated: October 5, 2013

@@ -89,283 +89,295 @@
- 2.2 Base64 Decode (base64dec) + 2.2 Add a Routing Table Entry (addroute)
- 2.3 Base64 Encode (base64enc) + 2.3 Base64 Decode (base64dec)
- 2.4 Concatenate Files (cat) + 2.4 Base64 Encode (base64enc)
- 2.5 Change Current Working Directory (cd) + 2.5 Concatenate Files (cat)
- 2.6 Compare Files (cmp) + 2.6 Change Current Working Directory (cd)
- 2.7 Copy Files (cp) + 2.7 Compare Files (cmp)
- 2.8 Show or set the date and time (date) + 2.8 Copy Files (cp)
- 2.9 Copy and Convert Files (dd) + 2.9 Show or set the date and time (date)
- 2.10 Show volume status (df) + 2.10 Copy and Convert Files (dd)
- 2.11 Echo Strings and Variables (echo) + 2.11 Delete a Routing Table Entry (delroute)
- 2.12 Execute User Code (exec) + 2.12 Show volume status (df)
- 2.13 Exit NSH (exit) + 2.13 Echo Strings and Variables (echo)
- 2.14 Show Memory Manager Status (free) + 2.14 Execute User Code (exec)
- 2.15 Get File Via TFTP (get) + 2.15 Exit NSH (exit)
- 2.16 Show Usage Command Usage (help) + 2.16 Show Memory Manager Status (free)
- 2.17 Hexadecimal Dump of File or Device (hexdump) + 2.17 Get File Via TFTP (get)
- 2.18 Manage Network Configuration (ifconfig) + 2.18 Show Usage Command Usage (help)
- 2.19 Take a network down (ifdown) + 2.19 Hexadecimal Dump of File or Device (hexdump)
- 2.20 Bring a network up (ifup) + 2.20 Manage Network Configuration (ifconfig)
- 2.21 Send a signal to a task (kill) + 2.21 Take a network down (ifdown)
- 2.22 Setup/teardown the Loop Device (losetup) + 2.22 Bring a network up (ifup)
- 2.23 List Directory Contents (ls) + 2.23 Send a signal to a task (kill)
- 2.24 Calculate MD5 (md5) + 2.24 Setup/teardown the Loop Device (losetup)
- 2.25 Access Memory (mb, mh, and mw) + 2.25 List Directory Contents (ls)
- 2.26 Show Current Tasks and Threads (ps) + 2.26 Calculate MD5 (md5)
- 2.27 Create a Directory (mkdir) + 2.27 Access Memory (mb, mh, and mw)
- 2.28 Create a FAT Filesystem (mkfatfs) + 2.28 Show Current Tasks and Threads (ps)
- 2.29 Create a FIFO (mkfifo) + 2.29 Create a Directory (mkdir)
- 2.30 Create a RAMDISK (mkrd) + 2.30 Create a FAT Filesystem (mkfatfs)
- 2.31 Mount a File System (mount) + 2.31 Create a FIFO (mkfifo)
- 2.32 Rename a File (mv) + 2.32 Create a RAMDISK (mkrd)
- 2.33 Mount an NFS file system (nfsmount) + 2.33 Mount a File System (mount)
- 2.34 Check Network Peer (ping) + 2.34 Rename a File (mv)
- 2.35 Send File Via TFTP (put) + 2.35 Mount an NFS file system (nfsmount)
- 2.36 Show Current Working Directory (pwd) + 2.36 Check Network Peer (ping)
- 2.37 Remove a File (rm) + 2.37 Send File Via TFTP (put)
- 2.38 Remove a Directory (rmdir) + 2.38 Show Current Working Directory (pwd)
- 2.39 Set an Environment Variable (set) + 2.39 Remove a File (rm)
- 2.40 Execute an NSH Script (sh) + 2.40 Remove a Directory (rmdir)
- 2.41 Wait for Seconds (sleep) + 2.41 Set an Environment Variable (set)
- 2.42 Unmount a File System (umount) + 2.42 Execute an NSH Script (sh)
- 2.43 Unset an Environment Variable (unset) + 2.43 Wait for Seconds (sleep)
- 2.44 URL Decode (urldecode) + 2.44 Unmount a File System (umount)
- 2.45 URL Encode (urlencode) + 2.45 Unset an Environment Variable (unset)
- 2.46 Wait for Microseconds (usleep) + 2.46 URL Decode (urldecode)
- 2.47 Get File Via HTTP (wget) + 2.47 URL Encode (urlencode)
- 2.48 Hexadecimal Dump of Memory (xd) + 2.48 Wait for Microseconds (usleep) + + + +
+ + 2.49 Get File Via HTTP (wget) + + + +
+ + 2.50 Hexadecimal Dump of Memory (xd) @@ -804,7 +816,31 @@ test <expression> + +
-

2.2 Base64 Decode (base64dec)

+

2.2 Add a Routing Table Entry (addroute)

+
+ +

Command Syntax:

+ +

+ Synopsis. + This command adds an entry in the routing table. + The new entry will map the IP address of a router on a local network(<router>) to an external network characterized by the <target> IP address and a network mask <netmask> +

+

+ Example: +

+ + + + +
+

2.3 Base64 Decode (base64dec)

@@ -821,7 +857,7 @@ base64dec [-w] [-f] <string or filepath>
-

2.3 Base64 Encode (base64enc)

+

2.4 Base64 Encode (base64enc)

@@ -838,7 +874,7 @@ base64enc [-w] [-f] <string or filepath>
-

2.4 Concatenate Files (cat)

+

2.5 Concatenate Files (cat)

@@ -856,7 +892,7 @@ cat <path> [<path> [<path> -

2.5 Change Current Working Directory (cd)

+

2.6 Change Current Working Directory (cd)

@@ -898,7 +934,7 @@ cd [<dir-path>|-|~|..]
-

2.6 Compare Files (cmp)

+

2.7 Compare Files (cmp)

@@ -915,7 +951,7 @@ cmp <path1> <path2>
-

2.7 Copy Files (cp)

+

2.8 Copy Files (cp)

@@ -933,7 +969,7 @@ cp <source-path> <dest-path>
-

2.8 Show or set the date and time (date)

+

2.9 Show or set the date and time (date)

@@ -960,7 +996,7 @@ data -s "Sep 1 11:30:00 2011"
-

2.9 Copy and Convert Files (dd)

+

2.10 Copy and Convert Files (dd)

@@ -1018,10 +1054,34 @@ nsh> dd if=/dev/ram0 of=/dev/null
-

2.10 Show Volument Status (df)

+

2.11 Delete a Routing Table Entry (delroute)

+ +

Command Syntax:

+ +

+ Synopsis. + The entry removed will be the first entry in the routing table that matches + the external network characterized by the <target> IP address and the network mask <netmask> +

+ Example: +

+ + + + + + +
+

2.12 Show Volument Status (df)

+
+

Command Syntax:

+
  • /etc/init.d/rcS
  • exec
  • exec_builtin()
  • exit
  • -- cgit v1.2.3