Go Back   Hardware Forums > Software Support Forums > Linux and Other OSes

Reply
 
LinkBack Thread Tools
Old 10-10-2007, 11:32 AM   #1 (permalink) Top
IT
 
edijs's Avatar
 
Join Date: Sep 2006
Age: 21 Male
Posts: 494
Times Helpful: 14
My Mood: Busy
Status: Offline

My Computer

Default MAC OS X 10.4 Darwin terminal

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?

Send a message via Skype™ to edijs   Reply With Quote
Whats this? Ultra Flat Keyboard
Ultra Flat Keyboard
Seller Price (inc. VAT) Delivery Total Price Availability Seller Rating
Misco.co.uk £9.85 £4.69 £14.54 In Stock Rated: 4 out of 5 - Number of votes: 1347
IML DIRECT £12.24 £5.00 £17.24 In Stock Rated: 0 out of 5 - Number of votes:
Dell £18.98 Free £18.98 In Stock Rated: 0 out of 5 - Number of votes: 0
Old 10-10-2007, 10:14 PM   #2 (permalink) Top
iMod

 
Matt555's Avatar
 
Join Date: May 2005
Age: 20 Male
Posts: 3,840
Times Helpful: 238
My Mood: Happy
Status: Offline

My Computer

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?
__________________
  Reply With Quote
Old 12-10-2007, 01:33 PM   #3 (permalink) Top
IT
 
edijs's Avatar
 
Join Date: Sep 2006
Age: 21 Male
Posts: 494
Times Helpful: 14
My Mood: Busy
Status: Offline

My Computer

thanks, but it's displaying the commands that were given to the console, not the output.
Send a message via Skype™ to edijs   Reply With Quote
Old 12-10-2007, 01:44 PM   #4 (permalink) Top
iMod

 
Matt555's Avatar
 
Join Date: May 2005
Age: 20 Male
Posts: 3,840
Times Helpful: 238
My Mood: Happy
Status: Offline

My Computer

Yeah that's what I was saying, I'm not sure the last output can be obtained - may I ask what you were doing?
__________________
  Reply With Quote
Old 13-10-2007, 10:55 AM   #5 (permalink) Top
IT
 
edijs's Avatar
 
Join Date: Sep 2006
Age: 21 Male
Posts: 494
Times Helpful: 14
My Mood: Busy
Status: Offline

My Computer

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.
Send a message via Skype™ to edijs   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MisBehaving Terminal... Impotence Linux and Other OSes 4 20-07-2006 09:43 PM


All times are GMT +1. The time now is 05:52 AM.


Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved