Sponsored Content
Top Forums UNIX for Advanced & Expert Users why we have different shells? Post 302269066 by melias on Tuesday 16th of December 2008 07:33:59 PM
Old 12-16-2008
The main difference between BSD and SVR flavours is in the way startup scripts are executed.

The different shells all perform in slightly different ways. Some differ in the way variables are dealt with. The shells were all written by different people, and each developer included their own special functions, etc, depending on what they thought was required. The different shells all have their strong and weak points, but there's not enough room here to list them all.

Search the web for info on the shells you're interested in to see what features each shell provides (or doesn't).
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shells

I have came across the definitions of these shells korn bourne c etc .. but honestly till now i din't get the exact difference between these threes , the advantages ..... can anyone pinpoint me where it actually lies ..... don;t include me answers like aliasing in c is posible and not in bourne ..... (3 Replies)
Discussion started by: dino_leix
3 Replies

2. 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

3. Shell Programming and Scripting

control sub-shells

Hi all, New to shell scripting, I would like to know if it is possible to pass commands to a shell, which has been launched by a parent shell. Example: #!/bin/ksh # # Launch and command shells # . mySecondShell.ksh #this launches a sub-shell #now is something like this possible?... (7 Replies)
Discussion started by: MarkZWEERS
7 Replies

4. UNIX for Dummies Questions & Answers

pipes and shells

Hi How do I direct the output from ls to for example grep a in C. I am not asking for the whole shell implementation. If I write ls|grep myfile in the shell. How is the output sent from ls to the input grep. whit int pipe(pipe); We create the pipe. I and I guess we use dup2(old... (4 Replies)
Discussion started by: isato
4 Replies

5. Shell Programming and Scripting

find all of the available shells

To find all of the available shells in your system we can use cat /etc/shells but i dont find shells in my system where else i can look for same info?? (4 Replies)
Discussion started by: Deepak Dutt
4 Replies

6. Shell Programming and Scripting

Differences between shells

What is the practical difference among the different shell like csh , ksh , bash etc.:confused::confused: Please use descriptive subjects instead of single words (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

7. Shell Programming and Scripting

Difference between shells

ple tell me What is the diff between ksh,sh,bash and csh (1 Reply)
Discussion started by: Boby120677
1 Replies

8. UNIX for Dummies Questions & Answers

Shells

Lets say my default shell is bash and then i load up csh and then ksh. How would i exit csh without exiting ksh? so basically i gone from bash > csh > ksh and i wish to close csh (2 Replies)
Discussion started by: Bill Thompson
2 Replies

9. UNIX for Dummies Questions & Answers

Significance of different shells?

I'm taking a LINUX and UNIX class and we are using bash as the shell in terminal. On my mac-book I use zsh only because my professor had a pretty cool start-up file for it. It has benefited me in becoming familiar with different shells. However, I'm having a hard time understanding the purpose... (4 Replies)
Discussion started by: syregnar86
4 Replies

10. UNIX for Dummies Questions & Answers

Please what are shells?

I mean like this: http://shells.red-pill.eu/ Can anyone explain how this works? I hope my post is not spam. I think its related to linux. Thank you (1 Reply)
Discussion started by: postcd
1 Replies
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
All times are GMT -4. The time now is 08:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy