index

hidepages plugin - suppressed page: sidebar

Recherche

Voici les résultats de votre recherche.

iptables @debian
31 Occurrences trouvées, Dernière modification :
186.0.0.0/8 187.0.0.0/8 189.0.0.0/8 190.0.0.0/8" echo "Paramétrage des règles du firewall..." #### Init... ore les ping envoyés par broadcasts ou multicasts echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts # Interdit toute connexion entrante ou sortante ipta... iptables -P FORWARD DROP iptables -P OUTPUT DROP echo "- Interdire toute connexion entrante ou sortante
basics @terminal
18 Occurrences trouvées, Dernière modification :
f that file, for example: <code bash> #!/bin/bash echo "Hello world..." </code> This is interpreted by t... the file! You can follow the process by using ''echo'' as a fake interpreter: <code> #!/bin/echo </code> We don't need a script body here, as the file will never be interpreted and executed by "''echo''". You can see what the Operating System does, i
positional-parameters @scripts
14 Occurrences trouvées, Dernière modification :
ript__ - it just echos ''$0'': <code> #!/bin/bash echo "$0" </code> You see, ''$0'' is always set to the... wever, this isn't true for login shells: <code> > echo "$0" -bash </code> In other terms, ''$0'' is not... to access specific parameters: <code> #!/bin/bash echo "Total number of arguments: $#" echo "Argument 1: $1" echo "Argument 2: $2" echo "Argument 3: $3" echo
quoting @scripts
9 Occurrences trouvées, Dernière modification :
ve a special meaning using the backslash: <code> echo \$HOME is set to \"$HOME\" </code> * ''\$HOME''... ve a file named ''*'', spit out an error. <code> echo "Your PATH is: $PATH" </code> Will work as expect... the single-quote that closes the string. <code> echo 'Your PATH is: $PATH' </code> ''$PATH'' won't be ... iki>'</nowiki>''" as literal text: <code> # WRONG echo 'Here's my test...' # RIGHT echo 'Here'\''s my t
terminal
8 Occurrences trouvées, Dernière modification :
e action. You can print the codes with a simple ''echo'' command. __**Note:**__ I see codes referenced ... lication, the following may work for you: <code> echo -e '\033[?47h' # save screen echo -e '\033[?47l' # restore screen </code> Certain software uses these ... === Colors using tput ==== __Directly inside the echo:__ <code> echo "TPUT is a $(tput setaf 2)nice$(tp
cron @debian
8 Occurrences trouvées, Dernière modification :
ngle tab character. Annoyingly necessary. tab=$(echo -en "\t") # Given a stream of crontab lines, ex... n_cron_lines() { while read line ; do echo "${line}" | egrep --invert-match '^($... } # Given a stream of cleaned crontab lines, echo any that don't include the # run-parts command,... arts() { while read line ; do match=$(echo "${line}" | egrep -o 'run-parts (-{1,2}\S+ )*\S+'
redirection @scripts
8 Occurrences trouvées, Dernière modification :
the descriptor number: <code> # this executes the echo-command and redirects its normal output (stdout) to the standard error target echo "There was an error" 1>&2 </code> The redirectio... e it), this is **the wrong way**: <code bash> # { echo OUTPUT; echo ERRORS >&2; } is to simulate something that outputs to STDOUT and STDERR # you can test wi
ping @php
4 Occurrences trouvées, Dernière modification :
lose($ch); if($httpcode>=200 && $httpcode<300){ echo 'worked'; } else { echo "didn't work"; } ?> </sxh> You can find the original source code at this "Lo... "ping -c 1 www.google.com"); if ($result == 0){ echo "ping succeeded"; }else{ echo "ping failed"; } ?> </sxh> In my case this didn't work because I wasn'
behaviours @terminal
4 Occurrences trouvées, Dernière modification :
`$FCEDIT' and `$EDITOR'. 41. When the `xpg_echo' option is enabled, Bash does not attempt to interpret any arguments to `echo' as options. Each argument is displayed, af... set. 2. As noted above, Bash requires the `xpg_echo' option to be enabled for the `echo' builtin to be fully conformant. Bash can be configured to b
scripting @terminal
4 Occurrences trouvées, Dernière modification :
ntation level: <code> case $input in hello) echo "You said hello" ;; bye) echo "You said bye" if foo; then bar fi ;; *) echo "You said something weird..." ;; esac </code> ... var/adm/ for file in "$MY_LOG_DIRECTORY"/*; do echo "Found Logfile: $file" done </code> ==== Variable
port @network
3 Occurrences trouvées, Dernière modification :
/td> <td>TCP</td> <td>UDP</td> <td><a href="/wiki/Echo_protocol" title="Echo protocol" class="mw-redirect">Echo</a></td> <td>Official</td> </tr> <tr> <td>8</td> <td>TCP</td> <td>U
check-script @scripts
3 Occurrences trouvées, Dernière modification :
f [ -z "$1" ] then DIR=./ else DIR=$1 fi echo "Evaluate *.py statistics" FILES=$(find $DIR -nam... DIR -name '*.py' -print0 | xargs -0 cat) | wc -l) echo "PYTHON FILES: $FILES" echo "PYTHON LINES: $LINES" </sxh> This script evaluate the number of pytho
obsolete @scripts
3 Occurrences trouvées, Dernière modification :
ion]]<code bash> $ { bash; dash </dev/fd/0; } <<<'echo foo>/dev/null&>/dev/fd/2 echo bar' foo echo bar bar</code>| |''$[EXPRESSION]'' |''<nowiki>$((EXPRESSION))</nowiki>'' |This undocume
obselete @terminal
3 Occurrences trouvées, Dernière modification :
ion]]<code bash> $ { bash; dash </dev/fd/0; } <<<'echo foo>/dev/null&>/dev/fd/2 echo bar' foo echo bar bar</code>| |''$[EXPRESSION]'' |''<nowiki>$((EXPRESSION))</nowiki>'' |This undocume
tput @debian
2 Occurrences trouvées, Dernière modification :
raw the user's attention. *Example usage* echo "$(tput setaf 1)Red text $(tput setab 7)and white... by echoing a multiline string and piping it: echo -e "setf 7\nsetb 1" | tput -S # set fg white and
php @feed
1 Occurrences trouvées, Dernière modification :
eggdrop @irc
1 Occurrences trouvées, Dernière modification :
color @terminal
1 Occurrences trouvées, Dernière modification :
truecolor @terminal
1 Occurrences trouvées, Dernière modification :
erreur32 @user
1 Occurrences trouvées, Dernière modification :
  • index.txt
  • Dernière modification : 2022/11/08 16:43
  • de 127.0.0.1