Loading
Home ›
Commandline 101: Redirecting Output
May 05, 2009 By Shawn Powers
Linux Journal's Shawn Powers shows you how to redirect commandline output to a file.
Trending Topics
| Dia - The Diagram Creation Tool | Feb 13, 2012 |
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
- Fun with ethtool
- Linux--The Internet Appliance?
- Dia - The Diagram Creation Tool
- Readers' Choice Awards 2011
- Validate an E-Mail Address with PHP, the Right Way
- Stack Backtracing Inside Your Program
- Python for Android
- LiS: Linux STREAMS
- Building a Two-Node Linux Cluster with Heartbeat
- Three-Tier Architecture
- Dia
4 hours 29 min ago - Service units, is a daemon
6 hours 5 min ago - Tcp
6 hours 24 min ago - Lamenting more development of Dia
12 hours 17 min ago - multiboot that works well for me
22 hours 7 min ago - What's a good, AFFORDABLE aka
22 hours 8 min ago - Employment Posters
1 day 13 hours ago - Sure the best distro is
1 day 14 hours ago - BeOS was the best
1 day 17 hours ago - I use Wireshark on a daily
1 day 22 hours ago





Comments
stdout stderr redirection?
I'd love to see the Shawn Powers, Clear and Concise, Tech Tip of the Day, description of how stdout and stderr redirection is done. For example, how both can be redirected to file.
great example
There are so many powerful, useful commands that come out of the box with every linux installation. Shawn, your short video tip collection is perfect for beginner and intermediate users who may not otherwise know this stuff. Keep up the great work!
Using the "clear" command
In case you're lazy like me, you can use control+L to perform a screen-clearing instead of typing
cleareach time. Advantages include the ability to use it in the middle of typing a command to clear the screen and not littering your.bash_historyfile withclearcommands.-Tim
Thanks!
Cool! Thanks Tim. :)
Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter