Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I love this site! It's so nice to know that there are so many people out there who are willing to share their knowledge..."

Geography

Where in the world do Tek-Tips members come from?

repeating commands from the command line

tviman (Programmer)
31 Oct 07 9:52
Hi - new to SCO but familiar with Linux/Unix.  Is there a way to recover a command that was typed on the command line - similar to the old Windows F4 key press in a DOS window?

The reason I ask is I just had a nasty experience with an old machine where the tape drive went south and the system was dying rapidly.  I had to archive data onto floppy discs (bru -cvvvv /dev/rfd0135ds18 /newfile/<file name>.  Then I had to do the same to unarchive the data to a new machine (bru -xvvvv /dev/rfd0135ds18 /newfile/<file name>).  It would have been a lot easier and less frustrating if I could have recovered these commands rather than have to re-type them over and over again.

Thanks for any help or suggestions
KenCunningham (TechnicalUser)
31 Oct 07 11:22
If using ksh, Esc and k allows you to reverse through the .sh_history file.

I want to be good, is that not enough?

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close