ENCYCLOPEDIA 4U .com



Encyclopedia Home Page

Google
  Web Encyclopedia4u.com

 

Cd (DOS / Unix Command)

The cd command (change directory) in the Unix and DOS operating systems, is used to change the current working directory.

Note that cd has different effects on different operating systems if given with no arguments. For example, if executed without arguments in DOS, the current working directory is printed. If executed without arguments in Unix, then the user is returned to the home directory.

It is a command which is frequently included built into certain shellss such as the Bourne shell, tcsh, and bash. It can be implemented easily with the POSIX C function chdir().





Content on this web site is provided for informational purposes only. We accept no responsibility for any loss, injury or inconvenience sustained by any person resulting from information published on this site. We encourage you to verify any critical information with the relevant authorities.



Copyright © 2005 Par Web Solutions All Rights reserved.
| Privacy

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Cd (DOS / Unix Command)".