Teljes szöveg:
- Hálózati okosságok @linux
- tml|link]]) ==== SSH okosságok ==== [[linux:ssh-exit-codes.sh|SSH exit kódok]] === SSH-n másolás köztes állomáson át === tar cvf - file1 file2 | ssh Koz
- TSM napi riport shell szkript @shell:riportok
- m /tmp/tsm_napi_riport_${DATUM}.html 2>/dev/null exit 1 } # trap keyboard interrupt (control-c) trap ... echo "Nincs hasznalhato sztanza a konfigomban." exit 1 fi echo "$HTML_MODUL_LABLEC" >> $TMP_HTML_FILE
- Linux okosságok
- tés ==== <file> #!/bin/sh if [ $? -ne 0 ]; then exit 1; fi ps -ef | grep '[n]mon ' | awk '{print $2}' ... fprintf(stderr, "%s\n", error); exit(1); } } real_main = main; ret
- Színes TSM szerver konzol @shell:riportok
- conc [szerver sztanza] <kiemelendeo szo>" exit 1 else SZERVERNEV=$1 fi echo $SZERVERNEV
- Szkriptelés @linux
- , else print err_msg and abort the script with an exit status of 1. Both forms nearly equivalent. The : ... itution.html]] ==== Gyakori BASH RC kódok ==== ^Exit Code Number ^Meaning ^Example ^Comments^ |1 |Catc... m with $PATH or a typo| |128 |Invalid argument to exit |exit 3.14159 |exit takes only integer args in the range 0 - 255 (see first footnote)| |128+n |Fatal er