4353 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 168 / 218
Newer►
  • PAC Manager | Free software downloads at SourceForge.net
    26 juillet 2012 à 14:13:38 UTC+2 - permalink - archive.org - http://sourceforge.net/projects/pacmanager/
    linux ssh
  • Get/Set - PHP Getters/Setters PHP, Java, Linux, JBOSS Seam | icurtain
    24 juillet 2012 à 21:29:35 UTC+2 - permalink - archive.org - http://www.icurtain.co.uk/getset.php
    generate php
  • Sed - An Introduction and Tutorial
    23 juillet 2012 à 15:28:07 UTC+2 - permalink - archive.org - http://www.grymoire.com/Unix/Sed.html
    sed
  • thumbnail
    Rechercher et remplacer en ligne de commande bash shell en utilisant sed | Stratégies, solutions, design et développement Internet 2.0

    bash# sed -i ’s/[texte_recherché]/[texte_de_remplacement]/’ monfichier.txt

    Pour l’exercice nous allons dire que monfichier.txt comporte une liste d’anciennes adresses email @wanadoo.fr et que nous désirons les mettre à jour en @orange.fr .

    bash# cat monfichier.txt
    toto@wanadoo.fr
    toto@wanadoo.fr
    toto@wanadoo.fr
    etc.

    Donc dans ce cas, cela nous donnera :

    bash# sed -i ’s/wanadoo/orange/g’ monfichier.txt

    Voilà en détail l’explication :

    On passe à la commande sed le paramètre “-i” pour l’édition du fichier monfichier.txt
    Le paramètre “-s” (substituer) qui définit l’action de rechercher / remplacer,
    l’expression régulière (REGEX),
    puis le ‘g’ (action global) à la suite pour la modification de toutes les instances de la chaîne de caractères remplacer dans le fichier.
    Dans le cas où on voudrait ne remplacer que la première qui aurait été trouvée, il faudra modifier comme suit : ‘s/texte1/texte2/’

    Bon, cela fonctionne sur un fichier, maintenant dans le cas de plusieurs fichiers, voici la commande ‘find’ qui va compléter l’astuce.

    bash# find . -maxdepth 1 -name “*.txt” -type f -exec sed -i ’s/wanadoo/orange/g’ {} \

    En détail cela nous donne:

    Nous utilisons la commande ‘find’ pour récupérer la liste des fichiers ‘.txt’ à traiter,
    dans le dossier courant ‘.’ et de ne pas aller plus bas ‘-maxdepth 1′,
    puis donc de lister les fichiers dont le nom finit par “*.txt” :  ‘-name “*.txt” -type f’.
    on utilise alors l’option ‘-exec’ pour dire à ‘find’ d’utiliser la commande qui suit sur les fichiers trouvés.

    Et voilà, simple non ?

    23 juillet 2012 à 15:24:06 UTC+2 - permalink - archive.org - http://supersonique.net/administration/rechercher-et-remplacer-en-ligne-de-commande-bash-shell-sed/
    bash linux rechercher remplacer sed
  • Every day JSON work: comparing JSON documents for equality ("are these JSONS same?")
    19 juillet 2012 à 17:13:35 UTC+2 - permalink - archive.org - http://www.cowtowncoder.com/blog/archives/2010/07/entry_406.html
    java json
  • InterfaceLIFT Wallpaper: Mac Is Greater
    19 juillet 2012 à 10:50:15 UTC+2 - permalink - archive.org - http://interfacelift.com/wallpaper/details/1924/mac_is_greater.html
    mac pc wallpaper
  • windows-seven.org: Cacher une partition avec Windows 7
    18 juillet 2012 à 19:42:52 UTC+2 - permalink - archive.org - http://www.windows-seven.org/2010/05/cacher-une-partition-avec-windows-7.html
    windows
  • Linux in My Box: Logging Shell Commands in Linux

    Comment logger toutes les commandes tappées par tous les utilisateurs sur linux

    18 juillet 2012 à 16:34:44 UTC+2 - permalink - archive.org - http://blog.kxr.me/2012/01/logging-shell-commands-in-linux.html
    linux log
  • Rotate PDF permanently, online, for free
    18 juillet 2012 à 10:24:04 UTC+2 - permalink - archive.org - http://www.rotatepdf.net/
    online pdf rotate tools
  • thumbnail
    Windows : Créer une clé USB d'installation
    17 juillet 2012 à 19:04:32 UTC+2 - permalink - archive.org - http://www.commentcamarche.net/faq/21013-windows-creer-une-cle-usb-d-installation
    boot iso windows
  • Java current Timestamp example - how to create a "current timestamp" | Java timestamp now | devdaily.com

    Comment créer un timestamp de l'heure actuelle en Java

    17 juillet 2012 à 15:14:36 UTC+2 - permalink - archive.org - http://www.devdaily.com/java/java-timestamp-example-current-time-now
    java timestamp
  • http://www.siteduzero.com/tutoriel-3-34590-procedure-stockee.html
    17 juillet 2012 à 11:51:08 UTC+2 - permalink - archive.org - http://www.siteduzero.com/tutoriel-3-34590-procedure-stockee.html
    bdd databse db mysql ps
  • PHP: Requêtes préparées et procédures stockées - Manual
    17 juillet 2012 à 11:50:35 UTC+2 - permalink - archive.org - http://php.net/manual/fr/pdo.prepared-statements.php
    bdd database db mysql ps
  • Bateau école Lyon - Code et permis bateau en Rhône Alpes
    16 juillet 2012 à 17:35:26 UTC+2 - permalink - archive.org - http://www.littoral-nautic.fr/
    bateau permis
  • Contacter votre Bateau Ecole en Isère. | Permis Bateau Isère
    15 juillet 2012 à 21:38:41 UTC+2 - permalink - archive.org - http://www.permis-fluvial.fr/contacter-votre-bateau-ecole-en-isere
    bateau permis
  • Index of /UTBM_LO22/P08

    Site avec bon TD linux bash

    14 juillet 2012 à 18:51:00 UTC+2 - permalink - archive.org - http://eric.bachard.free.fr/UTBM_LO22/P08/
    bash linux shell
  • Utiliser un SSD dans son Media Center

    Reglage à faire avant d'installer windows 7 sur un SSD

    14 juillet 2012 à 11:46:45 UTC+2 - permalink - archive.org - http://www.media-center7.fr/divers-a-systeme/163-utiliser-un-ssd-dans-son-media-center.html#AvantInstall
    ssd
  • thumbnail
    LDLC Aurore BB4-I3-4-H3 (BB4-I3-4-H3) : achat / vente PC portable sur ldlc.com
    14 juillet 2012 à 11:32:56 UTC+2 - permalink - archive.org - http://www.ldlc.com/fiche/PB00130752.html
    hardware portable
  • .bashrc not being executed, why?

    Pourquoi le bashrc ne s'execute pas

    13 juillet 2012 à 11:39:13 UTC+2 - permalink - archive.org - http://www.linuxquestions.org/questions/linux-newbie-8/bashrc-not-being-executed-why-127676/
    bashrc linux shell
  • Bashrc collaboratif - Linux Attitude
    13 juillet 2012 à 11:33:41 UTC+2 - permalink - archive.org - http://linux-attitude.fr/post/bashrc-collaboratif
    bashrc shell
Links per page: 20 50 100
◄Older
page 168 / 218
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation