3 ms·You can run it in a subshell pretty easily, like this: $ (cd tmp && find . -maxdepth 1 -type f)by nrclark 6y agoYou can run it in a subshell pretty easily, like this: $ (cd tmp && find . -maxdepth 1 -type f)