user@host ~$ ls -dF somedir somedir/ user@host ~$ ls -dF somedir/ somedir// Notice the double trailing slash which shouldn't be there in the second example.