Folks you may be aware that ls -a will list all hidden files and visible files as well.
But to list only the hidden files, type the following in Terminal :
ls -ld .?*
This is one of the tricky interview questions, so make a note of this.
But to list only the hidden files, type the following in Terminal :
ls -ld .?*
This is one of the tricky interview questions, so make a note of this.
No comments:
Post a Comment