I need to use the ls > filelist and, however when is use cat filelist it displays all the content in the filelist with filelist as one of the names in it, but i need to change it * * * File List * * *. I am unsure how to do this only to the filelist in file list if that makes sense.
use ls > filelist and change file list content to file list
ls