Sfoglia il codice sorgente

Change 'ls' example for xargs page to 'find -name'

TiredSounds 9 anni fa
parent
commit
0419ff65ec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pages/common/xargs.md

+ 1 - 1
pages/common/xargs.md

@@ -12,4 +12,4 @@
 
 - Delete all files that start with 'M':
 
-`ls M* | xargs rm`
+`find -name 'M*' | xargs rm`