Listing hidden files

Listing hidden files

The command

   ls -a

lists all the "hidden" files that begin with a '.' (dot). All other files and directories are also listed.

This type of file is often created by you, the user, to hold commands that customise how a particular program is to work. These files are usually held together in your home directory.

Every directory has two dot files, '.' and '..' which can be used in a shorthand way to refer to the current directory '.'(dot) and the parent directory of the current directory '..' (dot dot).


[Home] [Search] [Index] This site maintained by unixhelp@math.rutgers.edu
This page was last updated on September 05, 2006 at 10:30 am and is maintained by webmaster@math.rutgers.edu.
For questions regarding courses and/or special permission, please contact mclausen@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2012 Rutgers, The State University of New Jersey. All rights reserved.