I'm working with unix AIX core May 3 00F80B654C00 I use putty as terminal have a given every time I write a command is not in memory if I want to use I have to rewrite as I can do to that command me to stay saved so that riva press the arrow and have the command history
This isn't very clear. At a guess, I think you are asking about command-line editing. What context are you using for command-line editing. People generally use vi or emacs (set -o vi, set -o emacs, respectively). google command history vi or command history emacs for usage.
I use putty for example
write this ls -ltr
after I write more test.txt
if I want to use ls command again should write -latr redialing is not saved to be used with the keyboard arrow riba, understood my problem?
I assume you mean something like this?
If so, it depends on the shell you are using. If you are using bash
or tcsh
then arrow-up should work. If you are using ksh
(KornShell) then try the following:
First enter:
set -o vi
And then to access previous commands keep pressing:
ESC-k
I thank you very much works Esc -k this page is a treasure for unix programaodres