solutions for terminal tasks