I'm using the command
ls -a | grep '^\.'
for showing only the hidden files. I added the line
alias hidden='ls -a | grep '^\.'' # show only hidden files
to .bash_aliases file
but this does not work. It's probably the problem with ' character.
Could you please help me write the correct alias (and possible rename the title for this question)?
