I'm using Windows Terminal to SSH into an Ubuntu virtual machine. When I issue the ls
command, the output is a single column, similar to ls -al
but without the extra info. I want the output displayed in the usual default format, where directories and files are displayed horizontally in the terminal.
I looked in my ~/.bashrc
file, but I don't see anything that would cause this default behaviour.
Do you happen to know why this could be happening? The last time I logged in (a couple of months ago), it was working as expected.
ls -C
produce output in columns? What doestype -a ls
say? Are you runningls
as root or as some other user?