我正在研究基于 ARM 的处理器,并正在其中准备一个 shell 脚本,该脚本将一组命令输出写入文本文件。
我希望它准确地写入 10 行命令的输出(例如 top 命令),但我不知道如何操作,您能帮我吗?
谢谢。
linux bash shell terminal
bash ×1
linux ×1
shell ×1
terminal ×1