Re: ls/dir/vdir(1)
Arsen Arsenović <[email protected]> Sun, 19 Jul 2026 11:53:52 +0200
| Newsgroups | org.kernel.vger.linux-man |
|---|---|
| Message-ID | <[email protected]> |
Alejandro Colomar <[email protected]> writes: > [[PGP Signed Part:No public key for EB89995CC290C2A9 created at 2026-07-18T17:42:18+0200 using RSA]] > Hi, > > I have some doubts about specific pages; let's start with ls/dir/vdir. > > Experimentally, ls(1) and dir(1) seem to be exactly the same. I'd like > to document dir(1) with a short page saying that it's equivalent to > ls(1). Is this correct, or is there any subtle difference? Quoting the documentation: > 10.2 ‘dir’: Briefly list directory contents > =========================================== > > ‘dir’ is equivalent to ‘ls -C -b’; that is, by default files are > listed in columns, sorted vertically, and special characters are > represented by backslash escape sequences. > > *Note ‘ls’: ls invocation. > 10.3 ‘vdir’: Verbosely list directory contents > ============================================== > > ‘vdir’ is equivalent to ‘ls -l -b’; that is, by default files are > listed in long format and special characters are represented by > backslash escape sequences. > > *Note ‘ls’: ls invocation. -- Arsen Arsenović
signature.asc
(application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE----- iQECBAEWCgCqFiEE/uKz0RP8AKMWLWBhUsKUMB6ixJMFAmpcnrAbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGRUUyQjNEMTEzRkMwMEEzMTYyRDYw NjE1MkMyOTQzMDFFQTJDNDkzEBxhcnNlbkBhYXJzZW4ubWUACgkQUsKUMB6ixJPf UgD/de660y5y1Vem1Ubpmgyzl03o6n49Iw2hGY1nPXdwbYIA+gMh8RMo7QSwYasz d5dVeioKTBEkZcmi2LwKovhXxioN =05mM -----END PGP SIGNATURE-----