Saving output of an application



I don't know how to explain this, but I remember that there is some
way of saving everything that's going on in the terminal, I just don't
remember the command for doing so. I think it's something along the
lines of (e.g.):

# something file.name (this would start logging)
# portupgrade -a (or anything else)
# someting something (this would stop logging and close the file)

file.name would then contain all of the output of portupgrade. Can
someone help me with the right command? :)
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Saving output of an application
    ... remember the command for doing so. ... # someting something (this would stop logging and close the file) ... file.name would then contain all of the output of portupgrade. ... I use the Bourne shell redirection trick to save the output of builds, ...
    (freebsd-questions)
  • Fwd: incomplete portupgrade -a command
    ... Subject: incomplete 'portupgrade -a' command ... database, you could have hosed the database, and that could lead to ... I'd like to add that I had initially issued the same command ... If you did not install an older version of the port, ...
    (freebsd-questions)
  • portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)
    ... >> command to upgrade installed pkgs that needed to be updated. ... To make it usable as a shell script, ... > The portupgrade option -rRa will do some of it. ... the list of ports passed to portupgrade. ...
    (freebsd-questions)
  • KSH logging of users activity
    ... I have a requirement of logging users activity (the commands executed ... or more pipes in a command, then it is not logging and exiting/pushing me out ... from the system and the session terminates. ... done in the function so that it can accept more pipes. ...
    (SunManagers)
  • Error messages after logging out of window
    ... I get error messages most of time after logging out of window. ... -bash: Unable: command not found ... $ waiting for X server to shut down ...
    (RedHat)