Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
os:bash [2022/11/01 11:04]
tomas
os:bash [2022/11/01 11:29] (current)
tomas [Promenne]
Line 42: Line 42:
 readonly PI=3.14 ... definice konstatny, neda se zmenit\\ readonly PI=3.14 ... definice konstatny, neda se zmenit\\
  
 +====specialni zarizeni====
 +cat </dev/tcp/time.nist.gov/13 ... otevre spojeni na server time.nist.gov port 13, vypise cas\\
 +
 +echo "HEAD / HTTP/1.0" >/dev/tcp/tomas.lipensky.cz/80 ... ping na URL\\
 +
 +exec 5<>/dev/tcp/www.net.cn/80\\
 +echo -e "GET / HTTP/1.0\n" >&5\\
 +cat <&5 ... tako telnet\\