User Tools

Site Tools


shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
shell [2011/05/05 12:05] ginkoshell [2012/08/07 10:21] ginko
Line 3: Line 3:
  
   * [[http://www.commentcamarche.net/contents/linux/linshell.php3|Le shell sur CCM]]   * [[http://www.commentcamarche.net/contents/linux/linshell.php3|Le shell sur CCM]]
-  * [[http://penguin.dcs.bbk.ac.uk/academic/unix/linux/shells/index.php|AUtre article]]+  * [[http://penguin.dcs.bbk.ac.uk/academic/unix/linux/shells/index.php|Autre article]] 
 +  * [[http://cyberzoide.developpez.com/unix/shell.php3|Mémo pas mal fait]] 
 +  * [[shell_builtins|Shell Built-ins]]
  
   * Shells:   * Shells:
Line 25: Line 27:
     * Windows:     * Windows:
       * cmd.exe       * cmd.exe
-      * mintty.exe (sur Cygwin)+      * [[mintty]].exe (sur Cygwin)
  
   * [[http://www.cygwin.com/faq/faq.using.html#faq.using.copy-and-paste|Astuce]] sur Cygwin   * [[http://www.cygwin.com/faq/faq.using.html#faq.using.copy-and-paste|Astuce]] sur Cygwin
Line 57: Line 59:
     * cd     * cd
     * pwd     * pwd
-    * find (advanced ls)+    * [[find]] (advanced ls)
     * m?locate (recherche via index)     * m?locate (recherche via index)
   * Manipulation fichier   * Manipulation fichier
Line 103: Line 105:
   * Réseau   * Réseau
     * Netcat (ouvrir des connexions réseau, "couteau-suisse du réseau", [[http://www.sweetnam.eu/index.php/Using_Netcat_for_Backup|exemple pour backup fichier]])     * Netcat (ouvrir des connexions réseau, "couteau-suisse du réseau", [[http://www.sweetnam.eu/index.php/Using_Netcat_for_Backup|exemple pour backup fichier]])
 +    * [[wget]]
 +    * curl
  
 ===== Astuces ===== ===== Astuces =====
Line 126: Line 130:
 ==== Lister les plus gros fichiers ==== ==== Lister les plus gros fichiers ====
 <code bash>du -a /var | sort -n -r | head -n 10</code> <code bash>du -a /var | sort -n -r | head -n 10</code>
 +==== Calculs arythémtiques ====
 +<code bash>a=$(($b+$c))</code>
 +==== Manipuler le (x)term ====
 +<code bash># Set window title
 +echo -ne "\033]2;"$m"\007"
 +# In mintty, set the mapping for ANSI colors
 +echo -ne '\e]4;4;#4965D6\a' # blue</code>
 +
 +
shell.txt · Last modified: 2014/11/14 11:20 by ginko