How do I know what type of shells are available in my Unix system?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How do I know what type of shells are available in my Unix system?
# 8  
Old 10-10-2008
Correct, my fault.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

UNIX shells scripting

Can someone help by advising hw to built myself strong on logic building in UNIX shell scripting. I find it very difficult Sent from my iPhone using Tapatalk (4 Replies)
Discussion started by: Vijaykannan T
4 Replies

2. UNIX for Advanced & Expert Users

how to findout the file system type?

Hi all, How to findout the file sytem type which is NFS and which is Local? Suppose i have 5 different folders my in Root directory. dir 4 and 5 are mounted on different file system and dir 1,2 and 3 are mounted on different fild system Now i wanted know which file sytem is Local and which... (1 Reply)
Discussion started by: psiva_arul
1 Replies

3. Red Hat

File system type

Hi all, How to find out what type of file system is my system configured for Red hat linux 8.0 ? whether it is NTFS or FAT32 or FAT16... Can somebody help me on this? Regards, William (4 Replies)
Discussion started by: William1482
4 Replies

4. UNIX for Dummies Questions & Answers

changing shells in unix (im using putty)

hi. im new here. im taking a UNIX OS class and im in need of some help how do i change my shell in UNIX? for homework i need to edit the tcshrc file (to include aliases) in my home directory but its not there. so i think switching shells will create the file. am i correct? I'm using PuTTy.... (1 Reply)
Discussion started by: alpha_centauri
1 Replies

5. Shell Programming and Scripting

Different type of shells?

Hello there, i just want to know what are the different type of shells and the main difference betwee them. The problem is that if you try to search over the net you will find a lot of information and hence you will have no enough time to read all of them.....Anyone can help with this?? (1 Reply)
Discussion started by: charbel
1 Replies

6. HP-UX

more than one fs type on the same file system

hi is it possible to have more than one file system types on the same file system. if yes then how do we do it, can veritas be used to achieve this (1 Reply)
Discussion started by: livemyway
1 Replies

7. Shell Programming and Scripting

Switching shells in UNIX Scripts

Solaris Newbie here to scripting in UNIX/SOLARIS. What I am looking to do is, once the script is executed, switch to /bin/bash shell and continue to execute the script. The problem I run into is once the script switches to the Bash shell, the script stops, and does not execute the... (2 Replies)
Discussion started by: Scoobiez
2 Replies

8. UNIX for Dummies Questions & Answers

Good Unix Shells ?

Hey Guys i am new to Unix and i have downlaoded Cygwin for Windows and deleted it. I was just wondering is there any good shells like that for windows that just as good thanks for your time ][ce (1 Reply)
Discussion started by: IceCold
1 Replies

9. Shell Programming and Scripting

perl as lanuage of shells in unix

hi, do shells in unix understand the language of perl? learning perl will make u a ultimate shell programmer? thanks (6 Replies)
Discussion started by: yls177
6 Replies

10. Shell Programming and Scripting

Different type of Shells

Hello every body iam new to UNIX and shell scripting and i would like to know the different type of shells. And also i would like to know the reason for Shell scripts And tell me which will be the best site for UNIX beginners. Regards Sivam. :rolleyes: (5 Replies)
Discussion started by: sivhard
5 Replies
Login or Register to Ask a Question
GETUSERSHELL(3) 					   BSD Library Functions Manual 					   GETUSERSHELL(3)

NAME
getusershell, setusershell, endusershell -- get valid user shells LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> char * getusershell(void); void setusershell(void); void endusershell(void); DESCRIPTION
The getusershell() function returns a pointer to a valid user shell as defined by the system manager in the shells database as described in shells(5). If the shells database is not available, getusershell() behaves as if /bin/sh and /bin/csh were listed. The getusershell() function reads the next line (opening the file if necessary); setusershell() rewinds the file; endusershell() closes it. FILES
/etc/shells DIAGNOSTICS
The routine getusershell() returns a null pointer (0) on EOF. SEE ALSO
nsswitch.conf(5), shells(5) HISTORY
The getusershell() function appeared in 4.3BSD. BUGS
The getusershell() function leaves its result in an internal static object and returns a pointer to that object. Subsequent calls to getusershell() will modify the same object. BSD
January 16, 1999 BSD