ls Linux Commands
What is Linux ls Command?
ls COMMAND:ls command lists the files and directories under current working directory.
ls [OPTIONS]... [FILE]
||Lists all the files, directories and their mode, Number of links,
owner of the file, file size, Modified date and time and filename.
||Lists in order of last modification time.
||Lists all entries including hidden files.
||Lists directory files instead of contents.
||Puts slash at the end of each directories.
||List in order of last access time.
||Display inode information.
||List files order by date.
||List files order by file size.
- Display root directory contents:
lists the contents of root directory.
- Display hidden files and directories:
lists all entries including hidden files and directories.
- Display inode information:
The above command displays filename with inode value.