コマンドの出力をファイルにリダイレクトしようとしています。私が使用しているコマンド (zypper) は、インターネットからパッケージをダウンロードします。私が使用しているコマンドは
zypper -x -n in geany >> log.txt
The command gradually prints output to the console. The problem I am facing is that the above command writes the command output all at once after the command finishes executing. How do I redirect the bash output as I get it onto the terminal, rather than writing all the command output at the end.