dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


How to Save Command Output to a File in Linux

Aug 04, 2017, 05:00 (1 Talkback[s])
(Other stories by Aaron Kili)

Tecmint: There are many things you can do with the output of a command in Linux. You can assign the output of a command to a variable, send it to another command/program for processing through a pipe or redirect it to a file for further analysis. In this short article, I will show you a simple but useful command-line trick: how to view output of a command on the screen and also write to a file in Linux.

Complete Story