On Tue, 2019-07-09 at 16:00 -0500, Peng Yu wrote: > Hi > > `ls somedir` without -d will show the content of a directory. With -d, > it will show the info of the directory itself. Is there a way to show > both in a single command? Thanks. >
ls -a? The "." entry would be for the directory itself. Maybe I'm misunderstanding your question however. -- Jeff Layton <jlay...@kernel.org>