MAC OS X 10.4 Darwin terminal

Discussion in 'Mac OS X' started by edijs, Oct 10, 2007.

  1. edijs

    edijs Programmer

    Likes Received:
    9
    Trophy Points:
    38
    Hi! So the question is - if I have a task going on in this one terminal and it outputs several messages there. Let's say I close it accidentialy - is it possible to get that text back?
     
  2. Matt555

    Matt555 iMod

    Likes Received:
    98
    Trophy Points:
    48
    I'm not sure if it's possible, there are methods to get the last commands you entered.

    This displays the last commands you entered:

    Code:
    $ history
    This next one displays the history file in the terminal window.
    Code:
    $ cat ~/.bash_history
    Not sure about getting the last output of the shell though...

    What was it you were doing?
     
  3. edijs

    edijs Programmer

    Likes Received:
    9
    Trophy Points:
    38
    thanks, but it's displaying the commands that were given to the console, not the output.
     
  4. Matt555

    Matt555 iMod

    Likes Received:
    98
    Trophy Points:
    48
    Yeah that's what I was saying, I'm not sure the last output can be obtained - may I ask what you were doing?
     
  5. edijs

    edijs Programmer

    Likes Received:
    9
    Trophy Points:
    38
    It's a script that's designed to send files to a server and the server proceses them (builds packages). The server then sends back messages as it goes indicating the status of each package.
     

Share This Page