Comments on: How to Save Command Output to a File in Linux https://www.tecmint.com/save-command-output-to-a-file-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 10:11:02 +0000 hourly 1 By: Aaron Kili https://www.tecmint.com/save-command-output-to-a-file-in-linux/comment-page-1/#comment-905730 Tue, 08 Aug 2017 06:52:46 +0000 https://www.tecmint.com/?p=26586#comment-905730 In reply to Rick Stanley.

@Rick

Yap, well explained! This is the actual purpose of the article. Thanks for the useful feedback.

]]>
By: Aaron Kili https://www.tecmint.com/save-command-output-to-a-file-in-linux/comment-page-1/#comment-905647 Mon, 07 Aug 2017 18:13:05 +0000 https://www.tecmint.com/?p=26586#comment-905647 In reply to Greg P.

@Greg

I think this serves the same purpose also; you can choose which of the two works best for you.

]]>
By: Rick Stanley https://www.tecmint.com/save-command-output-to-a-file-in-linux/comment-page-1/#comment-905629 Mon, 07 Aug 2017 14:48:14 +0000 https://www.tecmint.com/?p=26586#comment-905629 In reply to Greg P.

The idea to the subject of the article, was to run a command, ONCE, outputting the results to the screen AND a disk file, at the same time! Not by running the command twice!

]]>
By: Aaron Kili https://www.tecmint.com/save-command-output-to-a-file-in-linux/comment-page-1/#comment-905467 Sun, 06 Aug 2017 08:23:36 +0000 https://www.tecmint.com/?p=26586#comment-905467 In reply to Rick Stanley.

@Rick

We actually have a complete starters guide about the script command: https://www.tecmint.com/record-and-replay-linux-terminal-session-commands-using-script/

Thanks for mentioning it.

]]>
By: Greg P https://www.tecmint.com/save-command-output-to-a-file-in-linux/comment-page-1/#comment-905410 Sat, 05 Aug 2017 16:05:58 +0000 https://www.tecmint.com/?p=26586#comment-905410 In reply to Aaron Kili.

So ‘df -h; df -h > df.log’

]]>