cd
| Function | Changes the current directory (spaces, pages, and folders). With no PATH, returns to the site root (/, the space list). |
| Options | None |
| Limitations | Enclose names that contain spaces or / in single quotation marks. |
PATH may be absolute (starting with /) or relative to the current directory. Use .. for the parent. Global, personal, collaboration, and knowledge_base spaces are reachable by name from /. Folders are valid path segments. Folder listings use Confluence search and may lag right after create/move. Mutating commands refuse folder paths.
Examples
Section titled “Examples”$ cd$ cd WebLinkTestSpace$ cd 'My space'$ cd ..$ cd /MySpace/Folder$ cd 'Release notes (2024/11)'