Difference between revisions of "Shell Commands/CD"
From MorphOS Library
(Created page with "'''CD''' - Changes or displays current directory DIR <nowiki> DIR - name of the new directory</nowiki> CD with no arguments displays the name of the current directory. When...") |
(No difference)
|
Latest revision as of 19:51, 2 March 2015
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:>