next up previous contents
Next: File type (ls -F, Up: Files and the File Previous: Moving directories (mv)   Contents

File properties (ls -l)

As you become more experienced you will want to learn about the properties of a file, especially the file ownership and permissions. If you type ls -l you will get a detailed list of the files in your current directory. This list will include the permissions, the number of links, the file's owner, the file's size in bytes and when the file was created. E.g.:

malama% ls -l truein

  drwxrwxr-x    3 bbaggins       astro        512 May 23 9:13  demons
  -rw-rw-r--    1 bbaggins       astro       4204 Jun 04 14:36 params
  drwxrwxr-x    4 bbaggins       astro        512 May 20 21:13 test
  -rwxr-xr-x    1 bbaggins       astro       8192 Jun 06 11:23 testprog
truein malama%





h.stilmack@jach.hawaii.edu