Use: "find . *p* -print |cat>ttt" for example