Ls

From TheLinuxVault

Jump to: navigation, search

The ls command allows you to list files and directories from within a terminal.

[edit] Arguments

  • -a list hidden files
  • -d show the name of the current directory
  • -F show directories with a trailing "/" and executable files with a trailing "*"
  • -g show group ownership of files in long listing
  • -i print the inode number of each file
  • -l long listing with details
  • -R Recursive
  • -t sort by time modified instead of name
  • -h list sizes in human-readable format, for example: 4.7G or 256M
Personal tools