Why is the command cd used for opening a directory?
Question by Compi | 2016-11-05 at 10:38
In the computer world, again and again you are faced with the shortcut command "cd". Let it be the CMD command line on Windows or on the Linux terminal - everywhere "cd" has become prevalent for switching and opening folders and directorys.
But what is the reason for that? Does this command make any sense or are we just using "cd" because we have done that for ages?
Related Topics
Windows Batch Script: Computer Shutdown
Tutorial | 2 Comments
Windows: Why you cannot create any files or folders named CON, AUX, NUL, COM1 or LPT1
Info | 0 Comments
Delphi/Lazarus: Command Line Parameter Tutorial Part 1: Sending
Tutorial | 0 Comments
MySQL: Delete Data from Table - Difference between TRUNCATE, DELETE and DROP
Tutorial | 0 Comments
VirtualBox: Change Date and Time
Tutorial | 10 Comments
HTACCESS: Simplify URL
Tutorial | 0 Comments
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
The "cd" is the abbreviation for "change directory".
That should have actually answered your question already. Because you are using this command very often, its shortness is of course welcome. However, on some systems and in some applications, also "chdir" is used for changing the current directory on the command line.
2016-11-05 at 23:14