Pages

Monday, April 8, 2013

Outputting a directory listing (ls) in Linux to a text file

So i needed to make a listing of files that were in a folder on my *Nix box. This command couldn't be any simpler.

ls > listing.txt

I tried to figure this out on windows and it was giving me a headache. Here's to the power of Linux!

No comments:

Post a Comment