Changes

Jump to navigation Jump to search
111 bytes added ,  14:03, 27 March 2018
no edit summary
Line 51: Line 51:  
  grep --exclude=*.o -rnw '/path/to/somewhere/' -e "pattern"
 
  grep --exclude=*.o -rnw '/path/to/somewhere/' -e "pattern"
 
  grep --exclude-dir={dir1,dir2,*.dst} -rnw '/path/to/somewhere/' -e "pattern"
 
  grep --exclude-dir={dir1,dir2,*.dst} -rnw '/path/to/somewhere/' -e "pattern"
 +
 +
== Remove comments and blank lines ==
 +
cat /etc/apache2/sites-enabled/default-ssl.conf | grep -v '^$\|^\s*\#'

Navigation menu