Try exec | tee

master
Nico Schottelius 4 years ago
parent 1059e8d0e0
commit fb37c96a3b

@ -7,7 +7,7 @@ echo "First source all variables and THEN run this script"
read something
LOG=~/master-thesis/netpfga/log/compile-$(date +%F-%H%M%S)
exec > "$LOG"
exec | tee "$LOG"
exec 2>&1
# Step 1..3: create code

Loading…
Cancel
Save