Hey Guys I need to output a list of files in a directory to a file. How is this possible with linux? Similar to dos dir > output.txt
ls > file.txt (it will overwrite the file.txt every time executed) ls >> file.txt (it will append the file.txt every time executed) hope it'll help..