4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 3 / 4
Newer►
62 results tagged bash x
  • "Bash Argsparse : mieux gérer sa ligne de commande dans ses scripts." http://feedly.com/k/16TWn5q
    21 octobre 2013 à 09:31:16 UTC+2 - permalink - archive.org - http://"Bash Argsparse : mieux gérer sa ligne de commande dans ses scripts." http://feedly.com/k/16TWn5q
    art bash sdn
  • List of Bash online-tutorials [Bash Hackers Wiki]
    20 octobre 2013 à 22:48:36 UTC+2 - permalink - archive.org - http://wiki.bash-hackers.org/scripting/tutoriallist
    bash cours tutorial
  • Learning the shell - Lesson 6: I/O Redirection
    20 octobre 2013 à 22:08:04 UTC+2 - permalink - archive.org - http://linuxcommand.org/lts0060.php
    bash il redirection shell stdin stdout
  • How can I use an at command in a shell script? - Stack Overflow

    at now +10 minutes <<< "rm -rf /tmp/tobedeleted"

    at now +1 minutes <<< "init 6"

    /etc/init.d/networking stop && /etc/init.d/networking start

    atq

    atrm 2

    For multiline, consider a "HERE-doc"

    at now +10 minutes <<ENDMARKER
    rm -rf /tmp/tobedeleted
    echo all done | mail -s 'completion notification' sysadmin@example.com
    ENDMARKER

    20 octobre 2013 à 21:46:44 UTC+2 - permalink - archive.org - http://stackoverflow.com/questions/15454199/how-can-i-use-an-at-command-in-a-shell-script
    at bash
  • Portknocking in bash

    Un serveur, mais surtout un client pour faire du port knocking

    15 octobre 2013 à 10:32:22 UTC+2 - permalink - archive.org - http://www.prometheus-group.com/labs/unbounded/46-web-security/135-bash-pk.html
    bash knocking port portknocking serveur ssh
  • Screen for remote session management :D

    screen -S machineA (ensuite on se co en ssh à machineA, puis CTRL A D pour detach)
    screen -S machineB (ensuite on se co en ssh à machineB, puis CTRL A D pour detach)
    etc
    At the end of the day :
    screen -ls affiche tous les screens (avec chacun une connexion vers le serv en ssh)
    screen -r machineA pour aller sur le A
    screen -r machineB pour aller sur le B

    alias utiles :
    alias sls='screen -ls' #Pour lister les screen
    alias sr='screen -r' #Pour recover un screen
    alias sn='screen -S' #Pour créer un nouveau screen

    14 octobre 2013 à 17:21:25 UTC+2 - permalink - archive.org - https://links.infomee.fr/?VQzf3w
    bash screen
  • bash - How do you find the age of a long-running Linux process and then kill it? - Stack Overflow
    10 octobre 2013 à 13:19:54 UTC+2 - permalink - archive.org - http://stackoverflow.com/questions/6134/how-do-you-find-the-age-of-a-long-running-linux-process-and-then-kill-it
    bash etime process time
  • Bash String Manipulation Examples – Length, Substring, Find and Replace

    Manipulation de string en bash

    9 septembre 2013 à 16:58:40 UTC+2 - permalink - archive.org - http://www.thegeekstuff.com/2010/07/bash-string-manipulation/
    bash concat string
  • Programmation Bash/Flux et redirections - Wikilivres

    com > fic redirige la sortie standard de com dans le fichier fic,
    com 2> fic redirige la sortie des erreurs de com dans le fichier fic,
    com 2>&1 redirige la sortie des erreurs de com vers la sortie standard de com,
    com < fic redirige l'entrée standard de com dans le fichier fic,
    com1 | com2 redirige la sortie standard de la commande com1 vers l'entrée standard de com2.

    3 septembre 2013 à 14:33:05 UTC+2 - permalink - archive.org - http://fr.wikibooks.org/wiki/Programmation_Bash/Flux_et_redirections
    bash in out std
  • explainshell.com - match command-line arguments to their help text

    Petit outil sympa qui donne l'explication de n'importe quelle commande shell (on peut c/c ce qu'on veut)l

    30 août 2013 à 14:24:02 UTC+2 - permalink - archive.org - http://www.explainshell.com/
    bash help linux man shell
  • What I learned from other's shell scripts
    14 août 2013 à 09:57:36 UTC+2 - permalink - archive.org - http://www.fizerkhan.com/blog/posts/What-I-learned-from-other-s-shell-scripts.html
    bash shell
  • Advanced Bash-Scripting Guide

    Guide bash

    5 juillet 2013 à 14:11:28 UTC+2 - permalink - archive.org - http://tldp.org/LDP/abs/html/
    bash
  • Scripting - bash - tutoriels - PiX-Mania Wiki

    Un wiki complet à lire sur quelques outils en bash
    xargs sed cut awk grep find while for

    17 avril 2013 à 11:28:26 UTC+2 - permalink - archive.org - http://pix-mania.dyndns.org/mediawiki/index.php/Scripting_-_bash_-_tutoriels#for
    bash script
  • Extract most know archives with one command | alias.sh
    4 février 2013 à 22:43:30 UTC+1 - permalink - archive.org - http://alias.sh/extract-most-know-archives-one-command
    alias bash bashrc linux
  • 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
  • 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
  • Tutorial: Conditions in bash scripting (if statements) « Linux Tutorial Blog
    20 juin 2012 à 10:35:50 UTC+2 - permalink - archive.org - http://www.linuxtutorialblog.com/post/tutorial-conditions-in-bash-scripting-if-statements
    bash shell
  • Bash - Les paramètres
    20 juin 2012 à 10:35:41 UTC+2 - permalink - archive.org - http://www.commentcamarche.net/faq/5444-bash-les-parametres
    bash shell
  • Shell – Opérateur sur les variables | Blog de C-quad
    20 juin 2012 à 09:12:33 UTC+2 - permalink - archive.org - http://blog.cquad.eu/2012/06/17/shell-operateur-sur-les-variables/
    bash shell
  • Être à l'aise avec bash #5 (SSH, Truc, bash, Ubuntu, Linux, Debian, shell)
    28 janvier 2012 à 13:05:43 UTC+1 - permalink - archive.org - http://pwet.fr/blog/etre_a_l_aise_avec_bash_5
    bash
Links per page: 20 50 100
◄Older
page 3 / 4
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation