I\'m using ls -a command to get the file names in a directory, but the output is in a single line.
ls -a
Like this:
. .. .bash_history .ss
you can use ls -1
ls -1
ls -l will also do the work
ls -l