Sponsored Content
Operating Systems Linux Red Hat Download Oracle on Linux RHEL5 ?? Post 302232354 by radoulov on Thursday 4th of September 2008 09:59:06 AM
Old 09-04-2008
The documentations says:

Code:
if [ $USER = "oracle" ]; then
  if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
  else
    ulimit -u 16384 -n 65536
  fi
fi

It's ksh, not bash (I guess in some ksh implementations -p means number of processes). In bash it's the -u option.
 

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

LINUX Download

I would like to download a basic copy of LINUX to my PC as a sandbox in which I can run basic commands and functions as a learning tool. I have an older PC - Pentium III Processor at 1GHz, 128MB RAM at 133 MHz, Windows ME operating system. Is there a version of LINUX that would be compatible with... (9 Replies)
Discussion started by: ednan171
9 Replies

2. UNIX for Dummies Questions & Answers

Linux Download

Can you download Linux and install it on a machine using Windows 95? I'd like to learn it with my old laptop. Any ideas? nov_user :confused: (3 Replies)
Discussion started by: nov_user
3 Replies

3. UNIX for Dummies Questions & Answers

Linux free download

Hello, I am not sure where to post this questions... I have Windows XP in my home computer. I need to install Linux on my home computer for learning purpose. Can one please recommend any free download link to download free linux... Any help is appreciated... Thank you... (1 Reply)
Discussion started by: govindts
1 Replies

4. Linux

Can not play sound in Linux RHEL5.

Hi All, Recently I installed Linux RHEL5 on my machine. It seems that I can not play sound on RHEL5. I have real player installed along with RHEL5 but, when I try to play any song, the error message comes up saying "Can not open the audio device.Another application may be using it." Does any... (2 Replies)
Discussion started by: gydave
2 Replies
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/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/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/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. SunOS 5.10 30 Aug 2004 getusershell(3C)
All times are GMT -4. The time now is 04:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy