The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 03-09-2007
cfajohnson's Avatar
cfajohnson cfajohnson is offline
Shell programmer, author
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 974
Quote:
Originally Posted by kumarsaravana_s
I have a folder with some 120 files...i just want to print all the file filenames(not the content or anything else) onto a file say .txt.
Code:
printf "%s\n" * > txt
Reply With Quote