tcpdump -n udp port 514
cd /var/syslog ; while true ; do ls -l ; sleep 1; echo "vypis:"; sleep 1;done
while true; do netstat -nau |grep 514;echo ""; sleep 1; echo "Testuji port 514:"; sleep 3;done
find . -name "*" |grep -P "[\x80-\xFF]"
for i in ./"Lá*"; do m=`echo $i |sed -e '/á/a/'`;mv "$i" $m; done
Sed is the king here, but awk works better with columns and cut can easily split test using various delimiters.
sed -e 1d file.txt > sed.tmp
mv sed.tmp file.txt
#The same is easier with a newer version of sed:
sed -i 1d file.txt
echo "Shoes 15 Dollars" | awk '{ print $2 }'
cat pricelist.txt | awk '{ print $2 }'
- HOME
~~~~~~~~~~~~~~~
- OpenBSD
- NetBSD
- FreeBSD
- Linux
- Solaris
- Windows
~~~~~~~~~~~~~~~
- Git
- Ansible
- Atlassian
- Network tools
- Qemu
- Virtualbox
- Vim
- Tmux
- Mutt
- STar
~~~~~~~~~~~~~~~
- MySQL
- PostgreSQL
- Postfix
- OpenSSL
- tcpdump
- SSH
~~~~~~~~~~~~~~~
- Packet Filter
- IP Filter
~~~~~~~~~~~~~~~
- Bash
- web-dev
- Hacking
- LINUX DAYS