Create A File From Output In Linux
- Forums
- Linux
- Create A File From Output In Linux
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. [3330], Last Updated: Mon Jun 24, 2024
Walster
Tue Apr 27, 2010
0 Comments
454 Visits
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