История изменений
Исправление mix_mix, (текущая версия) :
$ cat - > /usr/local/bin/tel
#!/bin/sh
LOG=/tmp/tel.log
tr \\0 \\40 < /proc/$PPID/cmdline >> $LOG
echo -e "\n`date`\n$0 $*\n" >> $LOG
^D
$ chmod +x /usr/local/bin/tel
$ tail -F /tmp/tel.log
Исправление mix_mix, :
$ cat - > /usr/local/bin/tel
#!/bin/sh
LOG=/tmp/tel.log
tr \\0 \\40 < /proc/$PPID/cmdline >> $LOG
echo -e "\n`date`\n$0 $*\n" >> $LOG
^D
$ chmod +x /usr/local/bin/tel
$ touch /tmp/tel.log
$ tail -f /tmp/tel.log
Исходная версия mix_mix, :
$ cat - > /usr/local/bin/tel
#!/bin/sh
LOG=/tmp/tel.log
tr \\0 \\40 < /proc/$PPID/cmdline >> $LOG
echo -e "\n`date`\n$0 $*\n" >> $LOG
^D
$ chmod +x /usr/local/bin/tel
$ tail -f /tmp/tel.log