print in a tsv file all names of files in a directory linux

Solutions on MaxInterview for print in a tsv file all names of files in a directory linux by the best coders in the world