Sometimes you can’t find where the executable files after you’ve install a package. For example, I’ve just installed rsc (Remote System Controller) for accessing console my Sun Fire server using Serial or IP connection. According to the manual, System Administration command for rsc is rscadm. But when I type rscadm, it failed.
root@m2000svr3G # rscadm
rscadm: not found
And then I check whether the package already installed:
bash-2.03$ pkginfo SUNWrsc
system SUNWrsc Remote System Control
I know we can do ‘find’ to find the executable:
root@m2000svr3G # find / -name rscadm
/usr/platform/SUNW,Sun-Fire-280R/rsc/rscadm
/usr/platform/SUNW,Sun-Fire-480R/rsc/rscadm
/usr/platform/SUNW,Sun-Fire-880/rsc/rscadm
/usr/platform/SUNW,Sun-Fire-V490/rsc/rscadm
/usr/platform/SUNW,Sun-Fire-V890/rsc/rscadm
/usr/platform/SUNW,Ultra-250/rsc/rscadm
And we can you use the rscadm which suited your system.
But the elegant way is to find at /var/sadm/install/contents file. For your information, this file is appended every time you install package.
bash-2.03$ grep rscadm /var/sadm/install/contents
/usr/platform/SUNW,Sun-Fire-280R/rsc/rscadm f none 0755 root bin 114028 8640 1071255312 SUNWrsc
/usr/platform/SUNW,Sun-Fire-480R/rsc/rscadm=../../SUNW,Sun-Fire-280R/rsc/rscadm s none SUNWrsc
/usr/platform/SUNW,Sun-Fire-880/rsc/rscadm=../../SUNW,Sun-Fire-280R/rsc/rscadm s none SUNWrsc
/usr/platform/SUNW,Sun-Fire-V490/rsc/rscadm=../../SUNW,Sun-Fire-280R/rsc/rscadm s none SUNWrsc
/usr/platform/SUNW,Sun-Fire-V890/rsc/rscadm=../../SUNW,Sun-Fire-280R/rsc/rscadm s none SUNWrsc
/usr/platform/SUNW,Ultra-250/rsc/rscadm f none 0755 root bin 185388 22971 1071254889 SUNWrsc
/usr/share/man/sman1m/rscadm.sgml f none 0444 root bin 10246 58715 1071255255 SUNWrsc
Bingo! There are your executable files.
June 24, 2013 at 1:49 am
What’s up i am kavin, its my first occasion to commenting anywhere, when i read this article i thought i could also create comment due to this sensible post.
August 7, 2013 at 4:57 pm
Hello there I am so excited I found your weblog, I really
found you by error, while I was looking on Aol
for something else, Nonetheless I am here now and would just like to say many
thanks for a remarkable post and a all round thrilling blog
(I also love the theme/design), I don’t have time to read it all at
the moment but I have saved it and also added your RSS feeds, so when I have time I will be back
to read a great deal more, Please do keep up the fantastic jo.
September 2, 2014 at 7:52 pm
Really when someone doesn’t understand afterward its up
to other viewers that they will help, so here it takes place.
March 9, 2015 at 5:08 pm
Hello Your main web site runs up honestly slow if you ask
me, I’m not sure who’s issue is that however twitter and facebook starts
up relatively good. However , I appreciate you for submitting brilliant articles.
Perhaps this has already been necessary to many people who arrived on this page.
This one is undoubtedly incredibly good what you have implemented here and want to
see content from your site. To get more information from articles you write-up, I’ve saved
to my bookmarks this web site.
March 9, 2015 at 6:49 pm
Hi there I don’t know if it’s me or simply your website but
it’s launching clearly sluggish to me, I had to spend like a minute to finally load up however
google operates well . Around the other hand I appreciate you for creating superb blog post.
Perhaps it really has been helpful to many individuals who came at
this point. This is without a doubt incredibly good everything that you actually have concluded and wish to discover a lot
more posts from your site. I now have you book-marked to look at blogs you publish.
May 24, 2015 at 11:29 pm
Hello Twitter performs fine for my situation however your site
is starting slowly which actually went on approximately a few minutes
to be able to load, I am not sure whether or not it’s my problem or
maybe your web site problem. Well, Thanks for posting such type of
fabulous articles. In my opinion it really has been really useful to user who visit here.
I’m hoping I’ll be able to find more amazing things and I also should certainly flatter
simply by telling you have carried out good writing.
To obtain additional understanding through content that you publish,
I have saved to my bookmarks this site.
July 2, 2015 at 2:30 pm
Hi Google performs perfectly yet your web site is running slowly
which actually had taken about a few minutes to load, I am not sure if it’s my very
own problem or your site problem. However , I appreciate you for creating superb blog
post. I’m assuming this has become beneficial to
plenty of people . This one is undoubtedly great everything that
you have done and would like to check out posts by you.
Immediately after checking out your content, I have bookmarked your web blog.
November 2, 2015 at 8:09 pm
WOW just what I was searching for. Came here by searching for create fifa ultimate
team
June 6, 2016 at 1:02 am
Hi! Your site is running lagging to me, this kind of went on like a moment
in order to reload, I have no idea if it’s entirely me or maybe your websites however twitter worked fine for me.
Anyway, I appreciate you for creating a remarkably excellent article.
I’m sure this has been honestly helpful user
who click here. I’m hoping I’ll be able to get even more remarkable information and I
also should complement you simply by telling you’ve done remarkable work.
To get additional information through content you post, I’ve saved this web page.