Novell Home

Redirect Output in the Console

Novell Cool Solutions: Question & Answer

Rate This Page

Reader Rating  stars  from 2 ratings

Posted: 17 May 2005

Q:
Is there a way to redirect output to a file instead of to the screen in the console?

A:
Yes, put a '>' followed by the name of the file to which you wish to send the output. Ex: ls -al > directorylist.txt

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Reader Comments

  • Doesn't say where the output file is written. The example doesn't work. In 6.0 anyway.

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.