Difference between revisions of "Cd"


From Knoppix Documentation Wiki
Jump to: navigation, search
(Created new Category:Useful Linux Commands to replace hand editing the page on Main_page)
(Fixed a few more of the links. This page may be done.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The cd command ('''change directory''') in the [[Unix]] and [[Linux]] operating systems, is used to change the current working directory.
+
The cd command ('''change directory''') in the [[Unix]] and [[linux | Linux]] 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.
+
Note that [[cd]] has different effects on different operating systems if no arguments are supplied to the command. 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 their home directory.
  
It is a command which is frequently included built into certain shells such as the Bourne shell, tcsh, and [[Bash|bash]].
+
[[cd]] is a command that is frequently built into certain shells such as the Bourne shell, csh, tcsh, and [[Bash|bash]].
  
 
[[Category:Useful Linux Commands]]
 
[[Category:Useful Linux Commands]]

Latest revision as of 07:58, 18 September 2005

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

Note that cd has different effects on different operating systems if no arguments are supplied to the command. 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 their home directory.

cd is a command that is frequently built into certain shells such as the Bourne shell, csh, tcsh, and bash.