Artifact be9d0ccf6bf25bce66c323d4caabea3c8cc517c81e67da7b50e00fdc5e69b511:
- File doc/markdown/Tcl/cd.md — part of check-in [b84ce0eee1] at 2026-10-04 22:10:02 on branch tip-700 — file location re-organisation (part 1) (user: Torsten, size: 968) [annotate] [blame] [check-ins using]
- File doc/markdown/cd.md — part of check-in [5e80e55e41] at 2026-09-26 22:40:07 on branch tip-700 — - added a "title" metadata element to the generated yaml block to satisfy Pandoc when converting to HTML - added markdown2html.tcl as prototype/placeholder of conversion script markdown -> HTML - added some CSS to play with a good visual representation of the generated HTML, starting with the n section pages - fixed man2markdown.tcl not giving the two .TP/.IP parsing places the same treatment (user: Torsten, size: 968) [annotate] [blame] [check-ins using]
CommandName: cd title: cd ManualSection: n Version: unknown TclPart: Tcl TclDescription: Tcl Built-In Commands Links:
- filename(n)
- glob(n)
- pwd(n) Keywords:
- working directory Copyright:
- Copyright (c) 1993 The Regents of the University of California.
- Copyright (c) 1994-1996 Sun Microsystems, Inc. ---
Name
cd - Change working directory
Synopsis
::: {.synopsis} ::: [cd]{.cmd} [dirName]{.optarg} :::
Description
Change the current working directory to dirName, or to the home directory (as specified in the HOME environment variable) if dirName is not given. Returns an empty string.
Note that the current working directory is a per-process resource; the cd command changes the working directory for all interpreters and all threads.
Examples
Change to the home directory of the user fred:
cd [file home fred]
Change to the directory lib that is a sibling directory of the current one:
cd ../lib