Web Server Administration: Files
Files
To get a listing of files in a directory, use the ls command
The most common flags for ls are:
- ls -lg Long listing
- ls -a Shows Hidden files
- ls -F Shows file type
- ls -s Shows size in blocks
These flags can all be combined