How do I list one filename per output line in Linux?

前端 未结 7 1879
挽巷
挽巷 2020-12-22 15:24

I\'m using ls -a command to get the file names in a directory, but the output is in a single line.

Like this:

.  ..  .bash_history  .ss         


        
相关标签:
7条回答
  • 2020-12-22 16:18

    you can use ls -1

    ls -l will also do the work

    0 讨论(0)
提交回复
热议问题