01-18-2008
Or do you need
set -o vi
?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I would like to know how to get the command history from the prompt. For example in dos, if we hit the Up Arrow, we get the previous command. I am not getting this in my telnet session (AIX) at the prompt.
I know that if I type history command it will give a list of cammands I typed... (2 Replies)
Discussion started by: priya_v111
2 Replies
2. AIX
Greetings. . .Can anyone out there explain how I would turn off the telnet service and close the telnet port on a AIX system?
Thank you,
outta. (2 Replies)
Discussion started by: outtacontrol
2 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to use the keyboard UP ARROW in place of k to recall history? If so, how/what do I need to do change terminal emulation, etc.?
TIA,
George (7 Replies)
Discussion started by: gwfay
7 Replies
4. UNIX for Dummies Questions & Answers
Okay so i have a script i wrote in python. I want to turn this script into an INSTALLED COMMAND to run in terminal.
Right now i run it like this in terminal...
$ python myscriptname.py
or
$ ./myscriptname.py
but i want to be able to run it like this in terminal...
$ myscriptname
... (3 Replies)
Discussion started by: cbreiny
3 Replies
5. 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
6. AIX
How to turn on SMTP trace on AIX V5? where to find the SMTP logs? (0 Replies)
Discussion started by: rainbow_bean
0 Replies
7. AIX
Hi Friends,
I am using AIX 6 with ksh shell, i am not able to get the commands histroy which was used earlier by pressing up and down arrow keys. Could you please help me to enable the history for ksh shell in AIX 6 OS.
Thanks in Advance.
Siva Kumar. (3 Replies)
Discussion started by: sivakumarl
3 Replies
8. AIX
Hello,
The system has been rebooted and I need to see the commands executed in the system prior to restart by the oracle user.The history command is not showing me the commands executed prior to reboot.
Please advise.
Best regards,
Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies
9. Solaris
What command turns GUI off and on in Solaris 10 (4 Replies)
Discussion started by: zbest1966
4 Replies
10. UNIX for Beginners Questions & Answers
Hi Folks -
Quick question around the exec command again.
At the end of my script, I check for specific error codes that are returned from a process I execute within the shell script. Based on the error code, I send an email.
Do I need to turn off exec feature prior to send each email so... (5 Replies)
Discussion started by: SIMMS7400
5 Replies
LEARN ABOUT ULTRIX
sigaddset
sigsetops(3) Library Functions Manual sigsetops(3)
Name
sigemptyset, sigfillset, sigaddset, sigdelset, sigismember - manipulate signal sets (POSIX)
Syntax
#include <signal.h>
int sigemptyset(set)
sigset_t *set;
int sigfillset (set)
sigset_t *set;
int sigaddset(set,sig)
sigset_t *set;
int sig;
int sigdelset(set,sig)
sigset_t *set;
int sig;
int sigismember(set,sig)
sigset_t *set;
int sig;
Description
The functions manipulate signal sets used by the other POSIX signal functions
The function initializes the signal set pointed to by the argument set so that all signals are excluded.
The function initializes the signal set pointed to by the argument set so that all signals are included.
The and functions respectively add and delete the individual signal specified by the value of the argument sig from the signal set pointed
to by the argument set.
The function tests whether the signal specified by the value of the argument sig is a member of the set pointed to by the argument set.
Return Values
Upon successful completion, the function returns a value of 1 if the specified signal is a member of the set. If it is not a member of the
set, a value of 0 is returned.
If the or functions fail a -1 value is returned and errno is set to indicate the reason.
Diagnostics
The function will fail and the signal mask will remain unchanged if one of the following occur:
[EINVAL] The value of the sig argument is not a valid signal number
See Also
sigprocmask(3), sigaction(3), sigsuspend(3), sigpending(2)
sigsetops(3)