i got solaris 10 DVD and i install it on intel 64.
how do i set history to vi for command line? i can use backup space as well, it goes with "^H".
this won't work, export EDITOR=vi, it response with not an identifier.
thanks
itik
You can change your shell to bash, and then use the up|down arrows for CL history and editing, with no need of vi commands.
Or switch to ksh, and add this line in your .profile
... and use [ESC] to enter the CL vi/history mode, and use [h][j][k][l] to cycle through commands or move along the CL for editing. Standard vi commands apply.
You can add
in your .profile as well to make the backspace well, backspace.
Can someone tell me what I can do to maintain a single history file ?
As it is it creates a new file for each session.
>ls -a .sh_*
.sh_history.10106 .sh_history.15240 .sh_history.21635 .sh_history.4291
.sh_history.11311 .sh_history.16593 .sh_history.23709 .sh_history.4661... (3 Replies)
Hi Solaris guys,
I just have my solaris 10 setup on x86 old box...
How can i get history key?
eg.
Linux using up/down arrow key to call history command...
HPUX using Esc-k
How can i do the samething in Solaris?
Thanks in advanced!
Regards,
gary (3 Replies)
Hello.
I'm trying to get a Solaris (SunOS 5.10) shutdown and boot history. Unfortunately the /var/adm/wtmpx file does not cover the period I want to trace. It's been reset. Therefore the command, "last" (or "last reboot") does not reach back far enough.
Additionally the /var/adm/messages*... (4 Replies)
Dears
Kindly am requested to collect the date histroy that the system was rebooted, so is there any log file or command that i can find the time that the system was rebooted?
thanks a lot for you kind support. (2 Replies)
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (3 Replies)
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (1 Reply)
I need to bump up the memory allocated to an Oracle database running on Solaris 10. While I see there is currently plenty of free memory to spare, how do I view the history of free memory on Solaris over the last month? What is the exact command?
---------- Post updated at 02:55 PM ----------... (0 Replies)
why in solaris 10 I do not get history when I have the role as root?
computer.root > history
I get history:not found
I am in computer.root > echo $SHELL
/bin/sh
computer.root >
how can I see roots history in the sh shell?
but in other shells I can only see my... (6 Replies)