I'm trying to display hidden files in the current directory using
The following command works fine:
ls -a | egrep '^\.+',
but this commands don't work:
ls -al | egrep '\<\.+' or
ls -al | egrep '\<[.]+'.
Does anyone know why the symbol
\< doesn't work with a period (
Btw. I'm using Ubuntu 18.04.