It functions the same due to the fact by default ls lists The existing directory, and . is The existing directory. However you are passing it on the command, needless to say. The . is The present directory. You seldom have to use this; most instructions will think The existing https://www.professionaldirectory.com