Terminal output to a file
Hello friends,
I need a help regarding ina file. Whenever i give a top > file1.txt.It's get opened but when i am opened it shown some characters and figures only.
Can anyone tell me how to save and show the result of top command in a file
Following are my PC Configuration
Intel Dual core 2.66 Ghz
915 MSI Motherboard with Intel chipset
512 mb RAM
GeForce 7300 GS
80gb HDD
Re: Terminal output to a file
Try to do it with following command hope it works for you
| tee > file
PC Configuration
Intel Core 2 Duo 2.8 Ghz
G31 Asrock Motherboard with Intel chipset
2gb RAM
256 Nvidia Graphic Card
Re: Terminal output to a file
I try to do it but it's not giving me the right solution.
Intel Dual core 2.66 Ghz
915 MSI Motherboard with Intel chipset
512 mb RAM
GeForce 7300 GS
80gb HDD
Re: Terminal output to a file
Try to use the following code.
cmd 2>&1 >output.txt
or
cmd &>output.txt