View Single Post
Posts: 32 | Thanked: 30 times | Joined on Jul 2012 @ Deb & Ian's dooryard
#81
Originally Posted by majaczek View Post
I really should test my device with powertop... What was proper command to redirect powertop result to file ?
Stdout can be redirected with '>' to write to a file.

# ls -l > ls-l.txt (creates/overwrites file and redirects output to file)

# ls -l >> ls-l.txt (creates file if not present or appends to existing file)

http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
http://www.mathinfo.u-picardie.fr/as...direction.html