Listing the contents of a directory

The following steps list the contents of a directory
  1. Open an xterm
  2. Move to the diectory which you want to list the contents for
  3. Type the following at the xterm prompt
    ls
    and a list of the files and directories in the current directory will be displayed.
  4. If not all of the file names appear on the screen (they scroll off the top) type the following at the xterm prompt:
    ls | more
    and scroll through the list of file names using the spacebar
  5. To get a detailed listing of a directory type the following at the xterm prompt:
    ls -l | more
    and scroll through the list of files using the spacebar