commands | Description |
ls/ | list root |
ls.. | list parent directory |
ls../.. | parent above directory |
ls~ | user home directory |
ls -d*/ | only directory |
ls* | content of directory |
ls -R | recursively list all the files and directory till subdirectory |
ls -s | size of directories |
ls -l | in table format containing owner, size and file name |
ls -lh | long format of files, name and size |
ls -a | list including hidden files |
ls -la|-al|-a -l| -l -a|& | long format |
ls --help | manual page |
ls -el | directory content |
rm | remove |