View Single Post
Old 03-08-2006, 12:31 AM  
Linguist
Confirmed User
 
Join Date: Apr 2004
Location: Toronto, ON
Posts: 1,706
I misread the question, if you don't want to have .txt displayed at the end, do this:

ls -1 | cut -d . -f 1 > output.txt

Make sure none of the files have "." as a part of their file name.
Linguist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote