kinda fix redirection: try ps > filename