aspose file tools*
The moose likes Linux / UNIX and the fly likes Available shells on SunOs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
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: 1511
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: 15665
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1511
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.!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Available shells on SunOs
 
Similar Threads
a linux file browsing program?
Daemonizing & Recalling an App
What shell script is wise invest in learning? ksh? bash? sh? csh? help!
twist and shout
Shell Difference!!