Teljes szöveg:
- Hálózati okosságok
- wSUB="${af#*/}" HTTP_REQUEST="$({ echo -en 'GET /'"${wSUB}"' HTTP/1.1\r\n' echo -en 'Host: '"${wBASE}"'\r\n' echo -en 'Connection: close\r\n\r\n' })" if [[ "${wPROTO,,}" = 'https' ]] ; then echo "${HTTP_REQUEST}" | openssl s_client -quiet -conn
- Szkriptelés
- nk-e? ==== case $(ps -o stat= -p $$) in *+*) echo "Running in foreground" ;; *) echo "Running in background" ;; esac ==== crontab-ból futunk-e? ==== CRON=$(pstree -s $$ | grep -q cron && echo true || echo false) ==== nohup-pal futunk-e? ==== if egrep -q "SigIgn:\s.{15}[13579bdf]" /proc/$$/s