Re: Recording Terminal to a .txt file
Originally Posted by
Carbonwyre
So I have a terminal session open to keep some stuff going for upwards of 10 hours of a time and I need a way to record the information outputted in the terminal to a text file as it is running. That means no stopping the script, just recording what the script says as it is running.
Is it possible?
If so, how would I go about it?
Code:
scriptname > /location/textfile
it is the same in Windows also,. incase you wanted to know, although the solidus is primarily a Linux thing, and \ is used in Windows, contrary to popular belief you can still use a solidus for filepaths in Windows
Last edited by haqking; December 13th, 2012 at 12:04 PM.
Backtrack - Giving machine guns to monkeys since 2006
Kali-Linux - Adding a grenade launcher to the machine guns since 2013
Bookmarks