print listing of directory
I am using RH9. How do I print a listing of the contents of a particular directory? I simply want to print out a sheet that lists the files within a directory. Thank you for your help.
|
ls -l > listing.txt
(Note: specify the listing options you want, man ls) lpr listing.txt (If you have multiple printers) lpr -P <printername> or you can open it up in any text editor and print from there. RO |
Worked great! Thanks for the help.
|
All times are GMT -5. The time now is 06:54 AM. |