Support most popular Linux/Unix terminal commands #14978

Closed
opened 2026-01-31 04:24:54 +00:00 by claunia · 1 comment
Owner

Originally created by @omonimus1 on GitHub (Aug 26, 2021).

Description of the new feature/enhancement

  • Allow user to use ls in the same way they use dir to list files of the current working directory.

Proposed technical implementation details (optional)

  • ls does not get shipped with windows, but what if we could use it as alias, directly saving ls as the alias of dir, or even better, set by default a set of commands as alias of Unix/Linux based system terminal commands.

Mapping few of the most used commands like:

  • ls: dir
  • nano : touchpad
  • del: rm

Another option, on the first lunch of the terminal, provides a link to the documentation for Linux subsystem set-up. This will speed up the set-up and transaction process from other OSs to Windows.

Originally created by @omonimus1 on GitHub (Aug 26, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement * Allow user to use ```ls``` in the same way they use ```dir``` to list files of the current working directory. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) * ```ls``` does not get shipped with windows, but what if we could use it as alias, directly saving ```ls``` as the alias of dir, or even better, set by default a set of commands as alias of Unix/Linux based system terminal commands. Mapping few of the most used commands like: * ls: dir * nano : touchpad * del: rm ----- Another option, on the first lunch of the terminal, provides a link to the documentation for Linux subsystem set-up. This will speed up the set-up and transaction process from other OSs to Windows. <!-- A clear and concise description of what you want to happen. -->
Author
Owner

@zadjii-msft commented on GitHub (Aug 26, 2021):

Thanks for the suggestion! As it turns out, PowerShell already supports ls and rm as aliases for it's commands Get-ChildItem and Remove-Item. If you'd like a modern commandline experience on Windows, you should be using powershell (or more preferably, Powershell 7, pwsh).

nano would be a great package to get added to winget (vim and emacs are already present on winget.) I don't think people particularly loved aliasing curl to Invoke-WebRequest though, especially now that curl.exe ships in the box.

@zadjii-msft commented on GitHub (Aug 26, 2021): Thanks for the suggestion! As it turns out, PowerShell already supports `ls` and `rm` as aliases for it's commands `Get-ChildItem` and `Remove-Item`. If you'd like a modern commandline experience on Windows, you should be using powershell (or more preferably, Powershell 7, `pwsh`). `nano` would be a great package to get added to `winget` (`vim` and `emacs` are already present on `winget`.) I don't think people particularly loved aliasing `curl` to `Invoke-WebRequest` though, especially now that `curl.exe` ships in the box.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14978