 |
 | happyday2012 wrote 1 year ago |
reply | looking to save the directory listing of a directory to a new file I have to create.
How is this accomplished? | | |  | jcsoh wrote 1 year ago |      
reply | Not too sure if this is what you meant ?
For eg you have a directory in /mnt/sda2/example
Open a console in /mnt/sda2/example
Type
ls >file.txt
Explanation ls = list
> sent the listed files in /mnt/sda2/example to a text file named file.txt | | |
|  |