- List directories only:
$ ls -d */
- List hidded files only:
$ ls -a
- Linux search for word and show entire line
$ grep --after-context=15 --before-context=1 'Exception' error.log
References:
$ ls -d */
$ ls -a
$ grep --after-context=15 --before-context=1 'Exception' error.log
References: