home *** CD-ROM | disk | FTP | other *** search
- ls (local) Disk Utilities v1.1 ls (local)
-
- NNAAMMEE
- ls - This program is a directory listing utility. It
- emulates a few of the UNIX ls functions.
-
-
- SSYYNNOOPPSSIISS
- ls [-acehlr] <file> [file ...]
-
-
- EENNVVIIRROONNMMEENNTTSS
-
- Options for this program will also be looked for in
- command.com's environment. This is done with the set command
- (e.g. set ls=la causes ls to always use the options la).
- If the ls.exe file is copied to a new name, some automatic
- options will be used. The following lists the names and
- equivalant commands:
- la.exe = ls.exe -ac
- lf.exe = ls.exe -c
- ll.exe = ls.exe -acl
-
-
- OOPPTTIIOONNSS
-
- a - Display all files (including hidden and dot). This means
- that the directories "." and ".." will be displayed along with
- any hidden files such as ibmbio.com or ibmdos.com.
-
- c - Display files in alphabetical order. When used in
- conjunction with the -r command, the recursive display will also
- be in alphabetical order.
-
- e - Display files in alphabetical order, sorting by extension.
- Files without extensions (usually directories) will be displayed
- first, followed by the sorted list of files.
-
- h - Display help (show command format).
-
- l - Output in long format. This causes the output to be somewhat
- like the 'dir' command except that more information is shown.
- The permissions, names, size, and date are all displayed.
-
- r - Recursively display directories (subdirs, subfiles). This
- causes all files and directories to be shown. The current
- directory will be first followed by each subdirectory.
-
-
- EEXXAAMMPPLLEESS
-
- ls -c
- List the current directory in alphabetical order.
-
- ls -la
- List all files in the current directory in the long format.
-
- ls -cfr c:\ d:\
- List all files on the c drive in alphabetical order then all
- files on the d drive in alphabetical order.
-
- ls *.com *.obj *.exe
- List files in current directory ending with .com .obj or .exe.
-
- -1-
-
- ls (local) Disk Utilities v1.1 ls (local)
-
- BBUUGGSS
-
- None that I know of!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -2-
- !
-