Multicolumn output with ls

By | November 25, 2008

If you do a ls > file.txt, the output will contain a single column of text. If you want to use multiple columns, do a


ls -C > file.txt

Leave a Reply

Your email address will not be published. Required fields are marked *