Teljes szöveg:
- Hálózati okosságok @linux
- nnect ${wBASE}:443 else exec {NFD}<>"/dev/tcp/${wBASE}/80" echo "${HTTP_REQUEST}" >... d-on-linux]] ==== Port tesztelés BASH-sel ==== /dev/tcp/host/port: (If host is a valid hostname or In... a TCP connection to the corresponding socket.) /dev/udp/host/port: (If host is a valid hostname or In... se something like this: xenon-lornix:~> cat < /dev/tcp/127.0.0.1/22 SSH-2.0-OpenSSH_6.2p2 Debian-6
- TSM napi riport shell szkript @shell:riportok
- is takaritok... ***\n" rm napi_ellenorzes.tmp 2>/dev/null rm $TMP_FILE 2>/dev/null rm $TMP_HTML_FILE 2>/dev/null rm /tmp/tsm_napi_riport_${DATUM}.html 2>/dev/null exit 1 } # trap keyboard interrupt (control
- Linux okosságok
- f) ==== dm-* device-ok felderítése ==== find /dev/ -name "dm-*" -exec readlink -n {} \; -exec echo ... | sed 's/\..*$/g/') echo -n "Diszk irasa (dd if=/dev/zero of=$FNEV bs=$BS count=$COUNT)… " SEC=$(timex dd if=/dev/zero of=$FNEV bs=$BS count=$COUNT 2>&1 | awk '/re... _path --noheadings lvcreate -s -L 1G -n blabla /dev/vg/blablalv lvdisplay -C -S lv_role=snapshot =
- Hasznos TSM SQL lekérdezések
- $1 PAR2=$2 PAR3=$3 FROM=${PAR1:-24} TO=${PAR2:-0} DEV=${PAR3:-LTO} red="\033[31m" normal="\e[0m" func... "select count(*) from drives where device_type='$DEV'") dsmadmc -id=$TSMUSER -pa=$TSMPASS -se=$TSMSERV... count(MESSAGE) from ACTLOG where MESSAGE like '%$DEV volume %% is mounted%' and current_timestamp - $F
- Színes TSM szerver konzol @shell:riportok
- \s]*' | awk '{print $2}') while [[ -n $((echo > /dev/tcp/$TCPS/${TCPP:-1500}) 2>&1 > /dev/null) ]]; do echo -en "\rVarunk, hogy a port megnyiljon..."; slee