#!/bin/bash DIR=$( dirname "$0" ) cat "$DIR"/stats_general.txt | grep "Unix time:" | cut -f 2 > "$DIR"/kurve.txt