Table of Contents

Unixové prikazy

unixové prikazy
Sluzby
Emacs
awk
VI
C
jq
manpage
nc … netcat, ncat

Externi odkazy

expect - programovani v TCL, umi poslouchat a posilat odpovedi (mozno uzit pro telnet atd)
bash
http://kutngedg.homelinux.org/blog/ … blogy o AIX, LINUX, HP-UX, Solarix, SQL, Disk Arrarys, …
http://www.g-loaded.eu/2005/11/10/ … blogy o Linux problemech a jejich reseni
http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html … navody na ruzne linux problemu

Minimální unix - příkazové ekvivalenty

''(echo > /dev/tcp/google.com/22) >/dev/null 2>&1 && echo "UP" || echo "DOWN"'' … netcat -zv google.com
cat < /dev/null > /dev/tcp/<hostname or ip>/<port>; echo $? … to samé

exec 3<>/dev/tcp/www.google.com/80
echo -e "GET / HTTP/1.1\r\nhost: http://www.google.com\r\nConnection: close\r\n\r\n" >&3
cat <&3

…. telnet, nebo wget

cat </dev/tcp/time.nist.gov/13 … ntp server

for i in $(ls [0-9]*/cmdline ); do cat $i; echo; done … ps -ef

wget ()
{
  IFS=/ read proto z host query <<< "$1"
  exec 3< /dev/tcp/$host/80
  {
    echo GET /$query HTTP/1.1
    echo connection: close
    echo host: $host
    echo
  } >&3
  sed '1,/^$/d' <&3 > $(basename $1)
}

_wget http://www.andreafortuna.org/robots.txt