Is there a way to list all files and directories including .
and ..
but without listing hidden files in this folder?
List files with . .. but without hidden files
filesls
filesls
Is there a way to list all files and directories including .
and ..
but without listing hidden files in this folder?
Best Answer
First ensure that dotglob is off:
Then just ask
ls
for those two directories and everything else: