hay guys, just wanted to tell you that you can use this command to save the output of the command into a text file, all you have to do is use this command very simple:

ls /www/mysite >> /home/myuser/all_files.txt

so as you can see, the all_files.txt will contain a complete list of all the files in the /www/mysite directory

hope that helps