03-02-2006
use bash shell or if you use ksh try set -o vi , then escape and k
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all,
I am using solaris 6 O.S. and root previlege.I want to know how to get history of commands given by diff. users logged into the server.
I know that history command gives the list of previous commands for that particular log in session. In the simillar manner can I get simillar history... (3 Replies)
Discussion started by: vikasdeshmukh
3 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone,
I am aware about the history command we use in bash. Just had a question regarding the history of commands. Is there any way i can limit my commands to be remembered or is there any way to delete the commands used by myself? Thank you (8 Replies)
Discussion started by: a25khan
8 Replies
3. Shell Programming and Scripting
Hi all experts,
I want to see all the command that is typed in the server 3 days ago. I typed HISTORY command but it does not show all the things. The reason is my senior DBA could see all the commands ran in the server 3 days ago but i cannot see. Please let me know is there anyway i can view... (6 Replies)
Discussion started by: ma466
6 Replies
4. UNIX for Advanced & Expert Users
CSH, BASH, KSH, TCSH... They're all different, and I want to know how to setup automatic history for each of them?
I always use KSH myself and use ctrl-k to bringup my history. It also allows me to search my history and has vi editing.
I want to be able to do the same with other shells. I... (0 Replies)
Discussion started by: srhadden
0 Replies
5. Shell Programming and Scripting
Hey there,
I would like to set the bash command history counter to start from, say 101, instead of 1 (assuming the history was cleared with the 'unset HISTFILE' in .bashrc)?
For instance, if setting PS1 as
PS1='\! '
this would start counting from either 1 or the last number of the command... (0 Replies)
Discussion started by: morphius
0 Replies
6. UNIX for Dummies Questions & Answers
Hi All.
Suppose I am in a "verylongpath" directory and I type "gedit thisfile".
At a later stage, the command is accessible from the hystory, but it is
useless if I have moved to another directory. The same applies to
"cd myfolder", etc.
Is there a way to instruct shell history to... (1 Reply)
Discussion started by: bruno69
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I want the command which has to tell all the commands used in different terminals of same Unix box.
Command "history" will give the commands used in the same terminal.
Advance thanks for your response. (1 Reply)
Discussion started by: senkerth
1 Replies
8. UNIX for Dummies Questions & Answers
Can anyone tell this:
If two users are logged into the same server from different locations. Is there a way to see the history command of the other user? I tried the history command, but it is showing me only the commands I used.
Thanks in advance for your help.
Iamnew2solaris (1 Reply)
Discussion started by: iamnew2solaris
1 Replies
9. Red Hat
Hi,
I would like to know commands which i have executed on terminal should not be present in the history.How can i approch please help me.
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
10. UNIX for Dummies Questions & Answers
hi
i want to show my history command in UNIX solaris ( bash shell ),,
i tried this command ( HISTTIMEFORMAT="%d/%m/%y %T " )
but it's not working with me ,, is there any restricted condition to do this command
any one know why it's not working to me ..
thanks (10 Replies)
Discussion started by: mondo32
10 Replies
suspend(1) User Commands suspend(1)
NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)
SunOS 5.10 15 Apr 1994 suspend(1)