Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays an abbreviated list of files and subdirectories in a remote directory.
Syntax
mls <remotefile>[ ] <localfile>
Parameters
Parameter | Description |
---|---|
<remotefile> |
Specifies the file for which you want to see a listing. When specifying remotefiles, use a hyphen to represent the current working directory on the remote computer. |
<localfile> |
Specifies a local file in which to store the listing. When specifying localfile, use a hyphen to display the listing on the screen. |
Examples
To display an abbreviated list of files and subdirectories for dir1 and dir2, type:
mls dir1 dir2 -
To save an abbreviated list of files and subdirectories for dir1 and dir2 in the local file dirlist.txt, type:
mls dir1 dir2 dirlist.txt