Skip to content

Commit

Permalink
Merge pull request #111 from fischerling/add-cp-man-page
Browse files Browse the repository at this point in the history
add a man page for cd
  • Loading branch information
Galfurian authored Oct 30, 2024
2 parents eba320f + 3dbb3f2 commit dcde0dc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions files/usr/share/man/cd.man
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
SYNOPSIS
cd [DIRECTORY]

DESCRIPTION
cd is a command built into the shell, that changes the current working directory.

If DIRECTORY is given, it will become the new directory.
If no parameter is given, the HOME environment variable will be used.

EXAMPLES
cd
# changes the working directory to your home directory.

cd ..
# changes the working directory to its parent directory.

cd /usr/src/mentos
# changes the working directory to /usr/src/mentos

0 comments on commit dcde0dc

Please sign in to comment.