| Start |
|---|
| Options for ls command Full list of options:
|
| ls command with most used options. ls shows files and directories in present working directory. (if no arguments are passed.) (It doesn't show hidden files which starts with . by default.) To see all files (hidden files/folders also).
Use To differentiate between files and folders and symbolic links and other, use Here, ending characters are used to distinguish files and folders. “/” suggest directory. “*”suggest executables. “@” suggest symbolic links. To get more details about the files and directories, use In this example, the total size of the contents is 6460KB. Then there is an entry for each file/directory in alphabetical order with upper case before lower case. The first character is the type (e.g. d - directory, l - link). The next 9 characters show the permissions for the user, group and other. This is followed by the number of hard links, then the owner's name and group. The next field is the size in bytes. This can be displayed in a human friendly form by adding the There then follows a timestamp (usually the modification time). The final field is the name. Note: links also show the target of the link. |
Read Article
https://develop.horje.com/learn/1434/reference