07-27-2009
Difference in Shells
Hi,
What is the difference between Bourne,Korn shell, C shell, BASH?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
How can i switch shells on linux and freebsd?
i tried changing the passwd file and restarted the computer but i still get the same old shell. anybody has the answer?
thanks (6 Replies)
Discussion started by: xNYx
6 Replies
2. Answers to Frequently Asked Questions
Hello Everyone,
Can someone please tell me the key difference between the different shells availabe i.e. ksh,bash,(i don't know the others ones. :confused: (5 Replies)
Discussion started by: a25khan
5 Replies
3. UNIX for Advanced & Expert Users
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
4. UNIX for Advanced & Expert Users
Can you pls. tell me, why we have different shells in UNIX OS ( Eg. SunOs) and also I would like to know what is the specific difference b/w SVR and BSD ?
Thanks. (2 Replies)
Discussion started by: shahnazurs
2 Replies
5. UNIX for Dummies Questions & Answers
hi,
i am aa unix amateur and i am using tsh, csh and bash most of the time.
i have been looking over the net to find a summary of the differences in command syntax for example:
in csh and tsh you do
alias whatday date
while in bash and ksh you do
alias whatday=date
i just want more... (2 Replies)
Discussion started by: hobiwhenuknowme
2 Replies
6. Shell Programming and Scripting
ple tell me What is the diff between ksh,sh,bash and csh (1 Reply)
Discussion started by: Boby120677
1 Replies
7. UNIX for Dummies Questions & Answers
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
8. Programming
I think both write at the end of the file ......
but is there a sharp difference between those 2 instruction .....
thank you
this is my 3rd question today forgive me :D (1 Reply)
Discussion started by: fwrlfo
1 Replies
9. UNIX for Dummies Questions & Answers
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
10. Shell Programming and Scripting
In the awk I am trying to subtract the difference $3-$2 of each matching $4 before the first _ (underscore) and print that value in $13.
I think the awk will do that, but added comments. What I am not sure off is how to add a line or lines that will add sum each matching $13 value and put it in... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT SUNOS
libmlib_mt
libmlib_mt(3LIB) libmlib_mt(3LIB)
NAME
libmlib_mt - multi-threaded mediaLib
SYNOPSIS
cc [ flag... ] file... -lmlib_mt -lmlib [ library... ]
#include <mlib.h>
Interfaces in this library provide functions for multimedia processing. Multi-threaded (MT) mediaLib is a software layer developed on top
of mediaLib using OpenMP. When it is used with a large data set on a multi-processor system, MT mediaLib will partition data into subsets
and process the subsets in parallel, thus greatly improving performance of applications that use mediaLib.
INTERFACES
The shared object libmlib_mt.so.2 provides the same public interfaces as those defined in libmlib(3lib). See intro(3) for additional infor-
mation on shared object interfaces.
There are two ways to use MT mediaLib.
1. Pre-load a multi-threaded mediaLib library during runtime by setting the LD_PRELOAD environment variable as follows before starting
your application, in Bourne/Korn shell:
LD_PRELOAD=libmlib_mt.so
export LD_PRELOAD
or in C shell:
setenv LD_PRELOAD libmlib_mt.so
In this way, you can take advantage of MT mediaLib without rebuilding your application.
2. Link your application with a multi-threaded mediaLib library directly as shown under . In this way, an MT mediaLib library is always
used whenever your application is started.
The parallelization of MT mediaLib is controlled, in part, by the PARALLEL environment variable. You can change its setting to adjust the
degree of parallelization before starting your application, in Bourne/Korn shell:
PARALLEL=n
export PARALLEL
or in C shell:
setenv PARALLEL n
where n is a positive integer for number of threads. Note that other factors also affect the degree of parallelization in MT mediaLib.
/usr/lib/libmlib_mt.so.2 shared object
/usr/lib/64/libmlib_mt.so.2 64-bit shared object
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmlibt |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
Intro(3), libmlib(3lib), attributes(5)
30 Sep 2005 libmlib_mt(3LIB)