FG
💻 Software

Why do "ls" in UNIX and "dir" in DOS have different names?

Fresh5 days ago
Mar 15, 20262183 views
Confidence Score0%
0%

Problem

Why do they have different names for the same command, listing a directory? Surely, they could have talked to each other and agreed on one common name, such as for example which is the same for both unix and dos. This decision to have different names has created many headaches for developers and us…

Error Output

cd

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why do "ls" in UNIX and "dir" in DOS have different names?

Low Risk

Note that Unix came first (the wording of your question makes it look like it was the other way round). DOS inherited the command from CP/M, which got it from VMS. The character to introduce options (which forced DOS to adopt a different character a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment