i have a linux dedicated server with you and im not an expert on linux but i remember when i was taking a linux class in school, i remember we could make a file with the echo command but i forgot how to do it.

i remember we can make the file with the output of the command

can you tell me

for example, i want to make a file with the a list of my files in is, you know something simple so i can understand

i know the command for listing is ls

so how can i do it?