IntelliJ Java IDE
The moose likes Linux / UNIX and the fly likes Available shells on SunOs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Available shells on SunOs" Watch "Available shells on SunOs" New topic
Author

Available shells on SunOs

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1351
I suspect I am on a SunOne box, how do I see available shells on this machine? Can I run a shell script even in case I don't have a shell?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

I think that the "uname -a" command will tell you the basics of what OS you're running. Every Solaris system I ever worked with had me preset for bash, although it was an older and less-capable version of bash than what Linux uses.

probably the easiest way to tell is simply to search the system binary directories like so: "ls /bin/*sh", which would find things like bash, sh, ash, csh, ksh, and so forth. And doubtless a few false positives as well. Beyond that, you'd probably have to rummage through the system packages list.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1351
Tim Holloway wrote:
probably the easiest way to tell is simply to search the system binary directories like so: "ls /bin/*sh", which would find things like bash, sh, ash, csh, ksh, and so forth.


Found some. Thanks again.!
 
IntelliJ Java IDE
 
subject: Available shells on SunOs
 
Threads others viewed
Shell Difference!!
a linux file browsing program?
What shell script is wise invest in learning? ksh? bash? sh? csh? help!
twist and shout
Daemonizing & Recalling an App
developer file tools