|
|
|
|
|
by useerup
1647 days ago
|
|
> Sure ls has a 58 (!) arguments but it's still a tool to list files ultimately. No, it has evolved into a tool to get files/directories of a directory and sort them and format them. Powershell separates those. `ls` in Powershell gets filesystem objects. It does not have any of the nix craziness for controlling the output and sorting, yet it is possible to do the exact same thing by piping output from ls into a format-command like format-table(ft), format-list(fl) or even convertto-json |
|