Recherche
Voici les résultats de votre recherche.
Pages trouvées :
Résultats plein texte:
- scripting @terminal
- entation is nothing that technically influences a script, it's only for us humans. I'm used to seeing/usi... commands]] form the structures that make a shell script different from a stupid enumeration of commands. ... roblem to pass an **environment variable** to the script. If you blindly assume that all variables you use... command names for your functions**. e.g. naming a script or function ''test'', will collide with the UNIX
- basics @terminal
- shell scripting basics learning tutorial}} ===== Script files ===== A shell script usually resides inside a file. The file can be executable, but you can call a Bash script with that filename as a parameter: <code> bash ./... table, and you want to use it by calling only the script name, the shebang must be included in the file.
- positional-parameters @scripts
- parameters reflect exactly what was given to the script when it was called. Option-switch parsing (e.g. ... is referenced as ''$0''. It is usually set to the script's name exactly as called, and it's set on shell i... de> You see, ''$0'' is always set to the name the script is called with (''>'' is the prompt...): <code> >... g. In the **ideal** case it's the pathname of the script, but since this gets set on invocation, the invok
- bash @debian
- d) $EDITOR -> L'éditeur invoqué par défaut par un script $EUID -> Numéro d'identifiant << effectif >> de l... ée au début de chaque ligne d'affichage lorsqu'un script a été appelé avec l'option -x. Elle affiche un <<... ECONDS -> Le nombre de secondes pendant lequel le script s'exécutait $SHELLOPTS -> La liste des options ac... ons, passés à partir de la ligne de commande à un script, passés à une fonction, ou initialisés (set) à un
- logrotate @debian
- Immediately after rotation (before the postrotate script is run) the log file is created (with the same na... wildcarded pattern are rotated, before prerotate script is run and only if at least one log ... only appear inside a log file definition. If the script exits with error, no further processi... wildcarded pattern are rotated, after postrotate script is run and only if at least one log is
- tips @js
- As mentioned in comments use defer: <sxh js> <script src="deferMe.js" defer></script> or <body onload="script();"> or document.onload = function ... or even window.onload = funct... more standard.// ---- **Example** <code js> <script type="text/javascript" src="jquery.js"></script>
- backup @debian
- ==== fichier pour SQL nécessaire nano /tmp/script.sql ==== SHOW DATABASES; Puis le script bash que vous donnerez à manger à un cron. #!/bin/bash ... es BDD dispo $ mysql -u root -pXXXXX < /tmp/script.sql > /tmp/output.tab $ cat /tmp/output.tab
- port @network
- itle="Sub7">Sub7</a> default. Most <a href="/wiki/Script_kiddie" title="Script kiddie">script kiddies</a> do not change from this</td> <td>Unofficial</td> </tr> <tr bgcolor="lightsteel
- scripts @nimp
- arset=utf-8" /> <title>Document sans nom</title> <script> function flip() { var result = flipString(docum... in flipTable) { flipTable[flipTable[i]] = i } </script> </head> <body> <form name="f"> <strong>Texte ori... ANSI Cyan: 255/160/160 ANSI Cyan Bold: 255/215/0 ANSI White: 245/222/179 {{tag>script text fun}}
- ping @php
- of the original source code: <sxh php; | PHP script: //CURl to check if web site is alive//> <?php $... ost in Code" URL. Issue a ping command from a PHP script As a final option, if you can run the ping comma... ine, you can also just execute it with a PHP ping script, like this: <sxh php;> <?php $str = exec("ping -
- check-script @scripts
- te simple util ==== We have a simple **stat.sh** script: <sxh sh; title: simple stat.sh script> #!/usr/bin/env bash if [ -z "$1" ] then DIR=./ else DIR... LES" echo "PYTHON LINES: $LINES" </sxh> This script evaluate the number of python files and the numbe
- cron @debian
- ====== SCRIPT: list ALL cron on Debian ====== ====== all_ban.sh ====== #!/bin/bash # System-wide ... th\td\tm\tw\tuser\tcommand" | column -s"${tab}" -t rm --force "${temp}" {{tag>tips cron script}}
- iptables @debian
- d/firewall** : <code> #!/bin/bash # Lancement du script de Firewall # Fonction pour le lancement du firew... od +x /etc/init.d/firewall </code> - Ajouter ce script au démarrage : **update-rc.d firewall defaults**
- url @google
- f="http://userscripts.org/scripts/show/121923">le script suivant</a>. Ce script a aussi la particularité de cacher le <a target="_blank" href="http://fr.wikipedia