Mac OS X, Mac OS X Server, Ubuntu, Unix Directory Listing with Permissions February 15, 2005 To list the files in a directory with the permissions for files, use the following command (assuming you’re in the working directory you would like to list files for: ls -al