Forrest logo
back to the top tool

top:ai:c7f0e

Run top with the -b and -n 1 options and redirect the output to a file named top.txt
$ top -b -n 1 > top.txt
try on your machine

Run top command in batch mode for one iteration and save the output to a file named top.txt

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • Run top with the -b and -n 1 options and redirect the output to a file named top.txt?
back to the top tool