Shaare your links...
3325 links
L!NKS Retour au blog Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
◄Older
page 1 / 2
26 results for tags bash x
  • Programmation défensive en bash – Le blog de Seboss666
    via sebsauvage :
    https://sebsauvage.net/links/?u4kZDg
    permalink -
    - https://blog.seboss666.info/2020/04/programmation-defensive-en-bash/
    bash
  • oss-sec: Re: CVE-2014-6271: remote code execution through bash
    http://www.programmez.com/avis-experts/faille-bash-pourquoi-il-est-extremement-important-de-patcher-vos-serveurs-de-toute-urgence-21371
    https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/
    http://linuxfr.org/users/tankey/journaux/mets-a-jour-ton-bash-maintenant
    http://www.numerama.com/magazine/30694-le-shell-bash-avait-une-faille-critique-pire-que-heartbleed.html

    pour tester :
    env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

    et patchez !
    apt-get install bash -y

    NB: pour l'instant pas de patch pour MAC OSX...
    permalink -
    - http://seclists.org/oss-sec/2014/q3/650
    bash faille
  • Set -e for the win | Sam & Max: Python, Django, Git et du cul
    set -e marche avec tous les shells mais a des limites, notamment pour les subshells et les pipes.

    Avec bash, on peut aller un peu plus loin :
    set -o posix # les sous-shells héritent de ces options
    set -o errexit # équivalent long de set -e
    set -o pipefail # intercepte les erreurs de commandes suivies d’un pipe
    permalink -
    - http://sametmax.com/set-e-for-the-win/
    bash linux
  • Taille d’un dossier en bash | Sam & Max: Python, Django, Git et du cul
    du -sh /chemin/vers/dossier

    et dans les comments :
    recherche incrémentale :

    ctrl-r + taper la string cherchée, et si la ligne affichée ne convient pas s’acharner sur ctrl-r jusqu’à pécho la ligne voulue ;)

    ou :
    !1234 pour rappeler la commande de la ligne 1234 (qui fait 15km de long)

    ou :
    !s
    rappellera la dernière commande commençant par “s”
    permalink -
    - http://sametmax.com/taille-dun-dossier-en-bash/
    bash linux memo
  • climagic - Differences between BASH last argument reference methods
    permalink -
    - http://www.climagic.org/txt/difference-between-bash-shell-last-argument-reference-methods.html
    bash
  • Auto running programs « Raspberry Pi Projects
    lancement de programmes/scripts au lancement du raspberry :
    sudo nano /etc/rc.local
    permalink -
    - http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/auto-running-programs
    bash linux raspberry
  • 7.3. Autres opérateurs de comparaison
    permalink -
    - http://abs.traduc.org/abs-5.3-fr/ch07s03.html
    bash
  • 10. Structures de contrôle for et if
    permalink -
    - http://aral.iut-rodez.fr/fr/sanchis/enseignement/bash/ar01s10.html
    bash
  • Tests
    permalink -
    - http://www.tldp.org/LDP/abs/html/tests.html
    bash
  • Chapitre 2. Le lancement avec « #! »
    permalink -
    - http://abs.traduc.org/abs-fr/ch02.html
    bash
  • Advanced Bash-Scripting Guide
    permalink -
    - http://www.tldp.org/LDP/abs/html/
    bash
  • Posteet: Récupérer l'adresse ip publique [bash] [ip] [linux] [reseau] [shell]
    wget -q www.monip.org -O -  | iconv -f iso8859-1 -t utf8 | sed -nre 's/^.* (([0-9]{1,3}\.){3}[0-9]{1,3}).*$/\1/p'
    permalink -
    - http://www.posteet.com/view/216
    bash ip
  • 8. Scripts Shell | Cours Unix Utilisateur
    permalink -
    - https://coursunix.wordpress.com/category/8-scripts-shell/
    bash tuto
  • BashFAQ - Greg's Wiki
    permalink -
    - http://mywiki.wooledge.org/BashFAQ
    bash
  • Annexe L. Convertir des fichiers batch DOS en scripts shell
    permalink -
    - http://abs.traduc.org/abs-5.0-fr/apl.html
    bash msdos
  • Le B.A BA de Bash : le code de retour
    et (http://stackoverflow.com/questions/90418/exit-shell-script-based-on-process-exit-code) :
    "" After each command, the exit code can be found in the $? variable so you would have something like:

    ls -al file.ext
    rc=$?
    if [[ $rc != 0 ]] ; then
       exit $rc
    fi

    You need to be careful of piped commands since the $? only gives you the return code of the last element in the pipe so, in the code:

    ls -al file.ext | sed 's/^/xx: /"

    will not return an error code if the file doesn't exist (since the sed part of the pipeline actually works, returning 0).""
    permalink -
    - http://okki666.free.fr/docmaster/articles/linux131.html
    bash linux shell
  • [bash] Suppression de ligne dans un fichier log (Page 1) / Développement et programmation / Forum Ubuntu-fr.org
    permalink -
    - http://forum.ubuntu-fr.org/viewtopic.php?id=166697
    bash sed
  • Premiers pas
    permalink -
    - http://fr.openclassrooms.com/informatique/cours/la-commande-sed/premiers-pas-14
    bash sed
  • md5 récursif - Liens en vrac de sebsauvage
    OUI !!!
    #!/bin/bash
    nice find . -type f -print0 | xargs -0 md5sum | sort -k2 > all.md5

    Et vérifier ce fichier:
    md5sum -c all.md5
    permalink -
    - http://sebsauvage.net/links/?LTvfMw
    bash linux script
  • An A-Z Index of the Bash command line for Linux | SS64.com
    permalink -
    - http://ss64.com/bash/
    bash linux
Links per page: 20 50 100
◄Older
page 1 / 2
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr.