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
    October 21, 2013 at 9:31:16 AM GMT+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]
    October 20, 2013 at 10:48:36 PM GMT+2 - permalink - archive.org - http://wiki.bash-hackers.org/scripting/tutoriallist
    bash cours tutorial
  • Learning the shell - Lesson 6: I/O Redirection
    October 20, 2013 at 10:08:04 PM GMT+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

    October 20, 2013 at 9:46:44 PM GMT+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

    October 15, 2013 at 10:32:22 AM GMT+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

    October 14, 2013 at 5:21:25 PM GMT+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
    October 10, 2013 at 1:19:54 PM GMT+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

    September 9, 2013 at 4:58:40 PM GMT+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.

    September 3, 2013 at 2:33:05 PM GMT+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

    August 30, 2013 at 2:24:02 PM GMT+2 - permalink - archive.org - http://www.explainshell.com/
    bash help linux man shell
  • What I learned from other's shell scripts
    August 14, 2013 at 9:57:36 AM GMT+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

    July 5, 2013 at 2:11:28 PM GMT+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

    April 17, 2013 at 11:28:26 AM GMT+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
    February 4, 2013 at 10:43:30 PM GMT+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 ?

    July 23, 2012 at 3:24:06 PM GMT+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

    July 14, 2012 at 6:51:00 PM GMT+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
    June 20, 2012 at 10:35:50 AM GMT+2 - permalink - archive.org - http://www.linuxtutorialblog.com/post/tutorial-conditions-in-bash-scripting-if-statements
    bash shell
  • Bash - Les paramètres
    June 20, 2012 at 10:35:41 AM GMT+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
    June 20, 2012 at 9:12:33 AM GMT+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)
    January 28, 2012 at 1:05:43 PM GMT+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