ファイル名uho.c

#include <stdio.h>
main()
{
printf("うほっ\n");
}
というプログラムをいまはgcc -o uho uho.cでコンパイルしているのですが、
実行結果をtxtで出力する方法をご存知の方いませんでしょうか?