thanks...but I'm a complete Terminal noob. Can someone please clarify what i need to change/replace in
cd /to/the/directory/or/disk
and where does the "-1" go? Or if you can link me to a page that explains that, that would be helpful too.
cd is "change directory." It gets you to the path you want. So you need to cd to the folder where you want to list files.
For instance, if your files were in your Movies folder in your home directory, you'd:
cd ~/Movies
~ is short for the home folder. If they were in a folder called "Movies" on some other drive called "Stuff," you'd:
cd /Volumes/Stuff/Movies
Basically that gets you to where your files are.
Then, ls is the "list" command, and -b is just an operator for it (bare list format, so it only lists file names). The > tells the shell to output the ls's command to a file instead of the screen, and then you put the name of the file, so:
ls -b > list.txt
Will create a file called list.txt that lists all the files in that directory, one on each line, just the file name.