LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Other programs (Than Gnome Lists) in SXDE (https://www.linuxquestions.org/questions/solaris-opensolaris-20/other-programs-than-gnome-lists-in-sxde-639249/)

tschima 05-01-2008 09:57 PM

Other programs (Than Gnome Lists) in SXDE
 
Hi,

I know there are more programs installed in Solaris, but finding them and getting them to run are a different story. How does one find all the executable files other than browsing the different directories? I'm sure there must be quite a few programs that would help me make Solaris do what I want if I just knew where they were and what their names were. Thanks,

Terry

sntnlz 05-02-2008 12:00 AM

What are you trying to do?

jlliagre 05-02-2008 08:57 AM

Answered in your other thread about the same subject. http://www.linuxquestions.org/questi...95#post3139895

tschima 05-03-2008 09:48 PM

To sntnlz:

I just want to know where all the programs are and what there names are so I can look them up online, and find out what they do. Then I could probably change or configure what I need to change or configure -- when I realize something isn't right. Thanks.

Terry

sntnlz 05-04-2008 08:43 AM

Well, they're all over the place. But here are the main directories to search for what you want:

/opt
/sbin
/bin or /usr/bin

As for what their names are and what they do, Sun has several books about Solaris that you can buy from them or maybe find in your local library. Another place where you "may" be able to find what you're looking for is the BigAdmin pages on Sun's website. lots of good information there.

Good luck.

tschima 05-05-2008 09:43 PM

Hey, thanks for those directories. But I thought there was downloadable books from Sun's site. Oh, there is, I just found it here:
http://docs.sun.com/app/docs/prod/solaris.exp#hic

Thanks again.
Terry

jlliagre 05-06-2008 02:02 AM

The supported directories where commands are located are described in the filesystem manual page.

Here is a small script that displays them:
Code:

#!/bin/ksh
for dir in /usr/ucb /opt/*/bin /usr/*/*/bin /sbin /usr/sbin /usr/*/bin /sbin /usr/bin ; do
  if [ -d $dir ]; then
    for cmd in $dir/*; do
      if [ -x $cmd ]; then
        echo $dir
        break
      fi
    done
  fi
done


tschima 05-07-2008 11:02 AM

To jlliagre:

Thanks, I'll try that code.

Terry


All times are GMT -5. The time now is 05:06 PM.