Create A File From Output In Linux

RegisterLogin
Create A File From Output In Linux
Post Description: when you execute a command in linux normally it goes to your monitor, if you want the output to be instead saved in a file you can use the redirection operator.
Tags: create, a, file, from, output, in, linux
This Post Was Posted On Apr 27, 2010 By Walster #3429
when you execute a command in linux normally it goes to your monitor, if you want the output to be instead saved in a file you can use the redirection operator. the redirection operator will send the output to whatever file you want. for example, lets say you want to the your network configurations in a file you can use this command

# ifconfig > netconfigs.txt

so when you see what netconfigs.txt has you will see the output of ifconfig command
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Sun Dec 18, 2011 4:43 pm
Powered by: Webune Forums V3