Original author(s) | coreutils: Richard Stallman and David MacKenzie |
---|---|
Developer(s) | Various open-source and commercial developers |
Written in | C |
Operating system | Multics, Unix, Unix-like, Plan 9, Inferno, MSX-DOS |
Type | Command |
License | coreutils: GPLv3+ BusyBox: GPL-2.0-only Toybox: 0BSD Plan 9: MIT License |
In computing, ls
is a command to list computer files and directories in Unix and Unix-like operating systems. It is specified by POSIX and the Single UNIX Specification.
It is available in the EFI shell,[1] as a separate package for Microsoft Windows as part of the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities,[2] or as part of ASCII's MSX-DOS2 Tools for MSX-DOS version 2.[3]
The numerical computing environments MATLAB and GNU Octave include an ls
function with similar functionality.[4][5]
In other environments, such as DOS, OS/2, and Microsoft Windows, similar functionality is provided by the dir
command.