title: How to send list of file in a folder to a txt file in Linux
body: <p>I'm fairly new to Linux (CentOS in this case).  I have a folder with about 2000 files in it.  I'd like to ideally execute a command at the command prompt that would write out the name of all the files into a single txt file.</p>
  
  <p>If I have to, I could write an actual program to do it too, I was just thinking there might be a way to simply do it from the command prompt.</p>