next up previous contents
Next: Create Up: Basic Directory Commands Previous: Basic Directory Commands   Contents

List

To list the contents of a directory use the ls command e.g.:-

ls *
lists all files. In this case the * is unnecessary; the default if no file name is given is to assume *. The -l option will give a more detailed listing and the -a option will list ``hidden'' files i.e. files that start with a dot.



P.D. Gronbech (IT Staff) 2015-10-02