The University of Texas at Austin

Web Central

Listing Files and Directories in Unix

Make sure you have logged in to an SSH Client and are at the Unix terminal. Instructions on how to log in to an SSH Client can be found at the Help page.

To submit a command line in Unix, press Enter.

Filenames in Unix can contain up to 255 letters, digits, and punctuation characters.

  • To list files in your directory, enter ls.

  • To list all files including those that start with a period, enter ls -a.

  • To view file sizes and file permissions in addition to the file names, enter ls -l.

  • To list all files and view file sizes and permissions, enter ls -al.

Last updated July 10, 2014 @ 3:13 pm

We Can Help

Get help from an expert:

* ITS Help and Service Desk

* Call us at 512-475-9400

* Submit a help request online

We also have a walk-in service in the first floor lobby of the Flawn Academic Center (FAC). Stop by and let us help you!