This is an old revision of the document!

ls

Lists the contents of specified directory.

ls [ <directory> ]/[ <wildcard> ]

Lists the contents of specified remote directory. If directory is not specified, lists working directory. When wildcard1 is specified, it is treated as set of files to list. Otherwise, all files are listed.

Advertisement

Alias: dir

XML log element: ls

Examples

ls *.html
ls /home/martin
ls
  1. Windows wildcard supports * and ? only. It does not support all the features of file masks.Back

Last modified: by martin