FreeBSD Tips: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 35: Line 35:


<syntaxhighlight lang="bash" enclose="div">
<syntaxhighlight lang="bash" enclose="div">
/usr/bin/nice -n 20 find . -ls -exec sleep 1 \;
#!/bin/sh
 
while true
do
    /usr/bin/nice -n 20 find / -ls -exec sleep 1 \;
done
</syntaxhighlight>
</syntaxhighlight>