2008-04-06

L33t Log Viewer

Qual gnome-system-log qual carapuça...

#!/bin/bash
touch ~/leet.sh

echo "#!/bin/bash" > ~/leet.sh
echo "xterm -e \"tail -f /var/log/messages\" &" >> ~/leet.sh
echo "xterm -e \"tail -f /var/log/syslog\" &" >> ~/leet.sh
echo "xterm -e \"tail -f /var/log/auth.log\" &" >> ~/leet.sh
echo "xterm -e \"tail -f /var/log/daemon.log\" &" >> ~/leet.sh
echo "xterm -e \"tail -f /var/log/debug\" &" >> ~/leet.sh
echo "xterm -e \"tail -f /var/log/kern.log\" &" >> ~/leet.sh
echo "xterm -e \"tail -f /var/log/user.log\" &" >> ~/leet.sh
echo "xterm -e \"tail -f /var/log/dmesg\" &" >> ~/leet.sh

chmod +x ~/leet.sh
sh ~/leet.sh


--- --- ---
Pronto eu sei, o script dá bronca em "#!/bin/bash". Mas corre á mesma :)
Blogged with the Flock Browser