Question: what is the difference between ls and dir?
Answer: dir and ls are part of coreutils and dir is almost the same as ls , just with different default options. ... dir is equivalent to ls -C -b ; that is, by default files are listed in columns, sorted vertically, and special characters are represented by backslash escape sequences. Oh and there is also vdir !