> but i want to eat the cake too, so how can i modify 'foo > log.txt' to also > write out to command line screen? For a not so great alternative to Rick's better solution, you can do:
foo > log.txt & tail -f log.txt & fg foo --Ray
> but i want to eat the cake too, so how can i modify 'foo > log.txt' to also > write out to command line screen? For a not so great alternative to Rick's better solution, you can do:
foo > log.txt & tail -f log.txt & fg foo --Ray