shell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
shell [2011/04/20 14:06] – [Shell commands] ginko | shell [2011/08/18 18:21] – ginko | ||
---|---|---|---|
Line 3: | Line 3: | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | + | * [[http:// |
+ | * [[http:// | ||
* Shells: | * Shells: | ||
Line 116: | Line 117: | ||
==== Debug ==== | ==== Debug ==== | ||
Activer l' | Activer l' | ||
+ | |||
+ | Astuce : changer la Prompt String : '' | ||
Il est possible de mixer ce mode debug avec une redirection : '' | Il est possible de mixer ce mode debug avec une redirection : '' | ||
- | __Résumé__ : <code bash>set -xv | + | __Résumé__ : <code bash>PS4=" |
+ | set -xv | ||
exec 2> dump.txt 1>& | exec 2> dump.txt 1>& | ||
+ | ==== Lister les plus gros fichiers ==== | ||
+ | <code bash>du -a /var | sort -n -r | head -n 10</ | ||
+ | ==== Calculs arythémtiques ==== | ||
+ | <code bash> | ||
+ | |||
+ |
shell.txt · Last modified: 2014/11/14 11:20 by ginko