How to output text file list of contents of a directory?
By Fahad Ahammed
- One minute read - 178 wordsIf you have a folder with huge contents and you want to get a list from them what will you do ? Write down one by one ? 😛
In Linux based distributions you can get a list by a simple command.
Open terminal. Go to your desired folder by cd command.
Now if you want to get the list of that folder contents then you can simply get by below command.
If you want to get a detailed list of that folder contents then use this.
If you want to get a list of that folder contents with hidden ones then use this.
If you want to get a detailed list of that folder contents with hidden ones then use this.
If you want to get a list of that folder and all sub-folder contents then use this.
If you want to get a detailed list of that folder and all sub-folder contents then use this.
If you want to get a detailed list of that folder and all sub-folder contents with hidden ones then use this.