« Commandes BASH » : différence entre les versions
Aucun résumé des modifications |
|||
| (Une version intermédiaire par le même utilisateur non affichée) | |||
| Ligne 150 : | Ligne 150 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* http://jlbicquelet.free.fr/aix/commandes/lsof.php | * http://jlbicquelet.free.fr/aix/commandes/lsof.php | ||
=== [[Grep| Grep]] === | |||
== sudo == | == sudo == | ||
| Ligne 375 : | Ligne 377 : | ||
<syntaxhighlight lang="bash">tree -L 2 project</syntaxhighlight> | <syntaxhighlight lang="bash">tree -L 2 project</syntaxhighlight> | ||
Affiche la structure du dossier <code>project</code> avec une profondeur de 2 niveaux. | * Affiche la structure du dossier <code>project</code> avec une profondeur de 2 niveaux. | ||
<pre>project/ | <pre>project/ | ||
| Ligne 386 : | Ligne 388 : | ||
│ └─ schema.sql | │ └─ schema.sql | ||
└─ README.md</pre> | └─ README.md</pre> | ||
* Exclure .git et .idea | |||
<syntaxhighlight lang="bash">tree -a -I '.git|.idea'</syntaxhighlight> | |||
----- | ----- | ||