Suchen in Linux: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
== ack-grep ==
<pre>
<pre>
sudo apt-get install ack-grep
sudo apt-get install ack-grep
ack-grep -i "suchbegriff"
ack-grep -i "suchbegriff"
</pre>
</pre>
== find ==


<pre>
<pre>
find . -type f -print0 | xargs -0 grep -i SEARCHSTRING
find . -type f -print0 | xargs -0 grep -i SEARCHSTRING
</pre>
<pre>
sudo find <start point> -type d -print0 | sudo xargs -0 chmod 755
</pre>
</pre>




Zurük zu [[Ubuntu]]
Zurük zu [[Ubuntu]]

Version vom 28. Juli 2020, 19:51 Uhr

ack-grep

sudo apt-get install ack-grep
ack-grep -i "suchbegriff"

find

find . -type f -print0 | xargs -0 grep -i SEARCHSTRING
sudo find <start point> -type d -print0 | sudo xargs -0 chmod 755


Zurük zu Ubuntu