echos previous commands