Is solaris shell like BASH

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You can install bash in Solaris, but I believe the default is the korn shell and it's different enough from bash to be annoying if you don't already know it.
 

ftp4you

Member
Sep 28, 2001
148
0
0
thanks for the info. You wouldn't happen to know a good site that would break down that shell.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Not really, it's usuable without knowing it inside and out so I never looked too deep into it.
 

RagManX

Golden Member
Oct 16, 1999
1,219
0
86
The man page for ksh was pretty good when I had to learn it 10 years ago. It should have all the info you need. That's how I learned ksh. But you really should just go through the hassle of downloading and installing bash any way. Plenty more systems you use in the future will run bash than will run ksh. I love ksh, but bash is just more common.

RagManX
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< thanks for the info. You wouldn't happen to know a good site that would break down that shell. >>



Go to Barnes and Noble, or my favorite, Borders and browse through one of the ~3 ksh books they have there. It happens to be my favorite shell.
 

xyyz

Diamond Member
Sep 3, 2000
4,331
0
0
I always thought the default shell was sh? I could have sworn that was what I had to use when I had Solaris 2.6 installed on my Sparc20.
 

RagManX

Golden Member
Oct 16, 1999
1,219
0
86


<< I always thought the default shell was sh? I could have sworn that was what I had to use when I had Solaris 2.6 installed on my Sparc20. >>


Not sure, as it has been years since I've used SUN boxen. Pretty sure you had the choice of sh, ksh, or csh when adding accounts. Where I worked, we usually assigned csh to our users (don't know why, that's what I was told to use when I was an admin, and I didn't know much about it then). I used ksh myself. Really haven't seen ksh much off SUN boxen, which is why I suggested bash. If you are using sh, though, then yes it is a lot like bash. bash is just a superset of sh.

RagManX
 

ftp4you

Member
Sep 28, 2001
148
0
0
So bash would be a good start to get familer with maybe how unix shell is like. The reason why I ask is I will be getting a job which mainly runs solaris. Even though they'll be teaching me most of the stuff, I was just curious if it would help alittle.

Thanks
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< So bash would be a good start to get familer with maybe how unix shell is like. The reason why I ask is I will be getting a job which mainly runs solaris. Even though they'll be teaching me most of the stuff, I was just curious if it would help alittle.Thanks >>



Personally I cant stand bash. I would learn ksh or csh. They are "more standard" on UNIX-like systems than BASH is. Just an opinion though.
 

Jaraxal

Senior member
Oct 9, 1999
383
0
0
I work with Solaris everyday. That said, the default shell for solaris is the Bourne Shell (/bin/sh). All of the system scripts included with the default OS are /bin/sh. This is actually the same setup used for most Unix versions. The standard/default shell for MOST Unix boxes (regardless of maker : Sun, HP, IBM, SGI) is typically /bin/sh.

However, in your typical box, most people have the option to choose between /bin/sh, /bin/ksh, and /bin/csh. In Solaris 8, /bin/tcsh is also available.

As far as which shell to use ... that is really a matter of subjective opinion. The "battle" is much along the lines of vi vs. emacs ... ;-) What I would say is this : BASH is a superset of /bin/sh. That is, bash is generally fully compatible with the basic syntax of /bin/sh. So MOST /bin/sh scripts should run fine under BASH. In my opinion, one would be better served to become familiar with /bin/sh and then use either ksh or bash (/bin/ksh is another "improved" version of /bin/sh). This would give the user/admin/developer much more flexibility. I you only focus on /bin/csh and you are in an environment where /bin/sh is the ONLY shell you can use, you may be in a world of hurt ...

And as the others have said, you can get BASH for Solaris. I believe Solaris 8, may come with a version of bash. For any and all Solaris related freeware .... Sun Freeware

*Edit : spelling mistake
 

ftp4you

Member
Sep 28, 2001
148
0
0
thanks for all your help i found a program that can be installed in a win2000,nt file system and can give you a pretty good playgroud for unix. Atleast until I can get a 2nd computer going. The program is called UWIN. Its actually pretty cool. The web site for it is http://www.research.att.com/sw/tools/uwin/


Theres lots of Doc on the site.... Oh one more thing looks like it runs the korn shell (KSH)

Thanks Again


Oh another thing I found, was some good info on unix for new people http://wks.uts.ohio-state.edu/unix_course/unix.html

Site has great doc


 

Fallen Kell

Diamond Member
Oct 9, 1999
6,097
460
126
Well, I know someone probably gave a decent answer, but here is mine (note I am a Sun Solaris UNIX Admin).

BASH is actually an acronym for Boure Again SHell. In other words BASH shell was based off the UNIX Bourne Shell, and is basically an upgraded more modern version. Bourne is USUALLY the default Unix shell, but not always. There are many different shells in Unix all having pros and cons, and as such different versions of Unix use different shells for their default shell. But in many cases, and in all of SUN Solaris UNIX, bourne shell is the default installed shell. Note that this can be changed by the system administrator, and/or by the user. I personally prefer csh or C Shell, but ksh (korn shell), and tcsh (updated version of csh) are also common defualt shells. BASH is just finally catching on in the UNIX world, as it is the primary shell in LINUX, and many UNIX users are starting to install LINUX for home use. Bash has been ported to all the major UNIX distributions, but it is not yet a default package in many of the versions.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |