Shell Commands/CD
From MorphOS Library
CD - Changes or displays current directory
DIR
DIR - name of the new directory
CD with no arguments displays the name of the current directory. When a valid directory name is given, CD makes the named directory the current directory.
NOTE: To move directly to the root directory of the current device, use CD followed by a space and a colon; for example, CD :
NOTE2: MorphOS supports an implied CD so that the CD command itself can often be left out. Enter the directory name, path, colon, or slashes at the prompt.
Example 1: SYS:> cd libs SYS:libs/> Example 2: SYS:MorphOS/C/> // SYS:>