09-16-2005
Suppose if I copy ksh file from old machine into my $HOME/bin will it works and how is its behavior?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
2. HP-UX
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
3. HP-UX
Hi,
could somebody confirm that HP 11i 64 is a 64 bits system ?
Thank you (1 Reply)
Discussion started by: aribault
1 Replies
4. UNIX for Advanced & Expert Users
Is this a bug in ksh on HPUX 11i or is read impromperly documented?
INPUT
Thu Jan 18 09:14:52 PST : CIFS: Virus Detected - File ONTAP_ADMIN$\vol\vol0\DDD\Ventana\Strattoni\Race Stuff\Rumor.exe in share DDD accessed by client CLIENT (111.11.11.111) running as user USER is infected. The filer... (3 Replies)
Discussion started by: Jackaroe
3 Replies
5. HP-UX
Hi,
Newbie here......I am an new guy on HP-Ux... may i ask all the the guru's and who has eperienced here to enlightened me on how to use the CSTM command.
My goal is to view the current HW installed on the Server.
Thanks in advance. (1 Reply)
Discussion started by: renobal
1 Replies
6. UNIX for Dummies Questions & Answers
I have heard for a long time that in maybe 2039 Unix will no longer be useable due the length of the date value. Anyone know anything about this? (4 Replies)
Discussion started by: dhlopomo
4 Replies
7. HP-UX
Could you please tell me if Informix 7.20 UD2 works on HP-UX 11i and if applications that works on HP-UX 10.20 and Informix 7.20 UD2 works on HP-UX 11i. Thanks a lot. (0 Replies)
Discussion started by: Irene Martínez
0 Replies
8. HP-UX
Hey,
i want install HP UX 11i on HP C8000. When i start the C8000 i get a prompt. On this Prompt i write
BOot P1
P1 is my DVD-ROM (IDE). I get the Message "ERROR: Not a boot path". When i write SEArch the Prompt said:
P0 scsiA.6 HP73.4MAT3073NP
P1 ide.1 ... (2 Replies)
Discussion started by: numx
2 Replies
9. HP-UX
I have to access to hp integrity bl870c server blade and i have no hp-ux 11i v2 or 11i v3 DVD's where can i get a DVD or download it . as i have no direct contact with vendor .
thanks (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies
10. HP-UX
Hey guys how do you run eclipse on HP-UX 11i?
there's a startup.jar and an eclipse file ( which is not an executable )
I get different errors try to run the jar file with different java versions.
I have all the possible java vm's installed. (0 Replies)
Discussion started by: binary0x01
0 Replies
LEARN ABOUT OPENSOLARIS
setusershell
getusershell(3C) Standard C Library Functions getusershell(3C)
NAME
getusershell, setusershell, endusershell - get legal user shells
SYNOPSIS
#include <unistd.h>
char *getusershell(void);
void setusershell(void);
void endusershell(void);
DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If
/etc/shells does not exist, the following locations of the standard system shells are used in its place:
/bin/bash /bin/csh
/bin/jsh /bin/ksh
/bin/ksh93 /bin/pfcsh
/bin/pfksh /bin/pfsh
/bin/sh /bin/tcsh
/bin/zsh /sbin/jsh
/sbin/pfsh /sbin/sh
/usr/bin/bash /usr/bin/csh
/usr/bin/jsh /usr/bin/ksh
/usr/bin/ksh93 /usr/bin/pfcsh
/usr/bin/pfksh /usr/bin/pfsh
/usr/bin/sh /usr/bin/tcsh
/usr/bin/zsh /usr/sfw/bin/zsh
/usr/xpg4/bin/sh
The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells.
The setusershell() function rewinds the file or the list.
The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells.
RETURN VALUES
The getusershell() function returns a null pointer on EOF.
BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved.
NOTES
Restricted shells should not be listed in /etc/shells.
SunOS 5.11 1 Nov 2007 getusershell(3C)