New answers tagged sunos
The locate command simply searches a database of files on the system. My hack on my SUNOS uses the find command to create a text database and then just greps that datebase for future file hunts. Note that creating the text database (about 200 Mbytes) on my SUNOS takes a long time. The grep only takes a few seconds per search. find / > ~/locate_db ...
Remember that can bash can also be compiled from the source by a regular user account and run from a home directory. Try find / -name '*bash*' or so.
To check if bash package is installed try this command (verified on Solaris 10): pkginfo -l SUNWbash It may be also installed from 3rd-party software repository, then, try: pkginfo | grep -i bash
If bash is installed the follwing will state which version you have, otherwise thorw an error /usr/bin/bash --version
Maybe I'm oversimplifying this but have you tried typing "bash" at the command prompt?
Top 50 recent answers are included