Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2005, 10:54 AM
lazyilmaz lazyilmaz is offline
Senior Member
 
Join Date: Jun 2005
Location: Netherlands
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to lazyilmaz
Default A simple question :oops:
Like i said before i'm a total *nix newbie, that's why i have a simple question. In Windows you have .exe files to execute a file, the question is what are the executables of PC-BSD? i mean when you install firefox, which file does get executed when you double click it. I know it's a stupid question but i need to know this for Camel.
Reply With Quote
  #2  
Old 07-03-2005, 11:42 AM
Valio Valio is offline
Senior Member
 
Join Date: May 2005
Posts: 287
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Users executables are located in /usr/bin, /usr/local/bin, System executables are /bin

Dont know what is the difference between /usr/bin and /usr/local/bin but /bin has like rmdir = remove directory, all the basic commands

I'll hope this helps


Edit: I think when you install software with root it goes to /usr/bin

when you install software with user it goes to /usr/local/bin
Reply With Quote
  #3  
Old 07-03-2005, 02:05 PM
darkside darkside is offline
Junior Member
 
Join Date: Jun 2005
Location: Curitiba - PR, Brazil
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to darkside Send a message via MSN to darkside
Default
/usr/bin --> Systems programs

/usr/local/bin --> Users programs
Reply With Quote
  #4  
Old 07-03-2005, 02:22 PM
scottro scottro is offline
Senior Member
 
Join Date: May 2005
Location: NYC
Posts: 360
Thanks: 0
Thanked 0 Times in 0 Posts
Default
ls /bin will show you things like ls, sh, csh and the like

ls /usr/bin will show you things like vi, passwd, pkill and the like.

ls /usr/sbin will show you things like sendmail, sshd.

ls /usr/local/bin will show you installed programs, as will ls /usr/X11R6/bin where a lot X related programs are installed, such as xterm.

ls /usr/local/sbin will show things like postfix, apache commands, and other programs that don't come with a base system, but can be considered system programs. (This can often leed to needless debate, but people are used to it.)

Most 3rd party programs (and this goes for tarballs downloaded for Linux as well) install in /usr/local/bin by default.

So, the local in this case, refers to programs which you decide install.

You can find the location of a program with the which command, eg

which firefox

gives an answer of /usr/X11R6/bin/firefox.

Then, if you do

file firefox

you get the answer of Bourne shell script text executable.

This means that it's actually a shell script that calls a binary.

Hopefully, this has given enough information without giving so much information that you're confused.
Reply With Quote
  #5  
Old 07-03-2005, 03:33 PM
lazyilmaz lazyilmaz is offline
Senior Member
 
Join Date: Jun 2005
Location: Netherlands
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to lazyilmaz
Default
:? :? :? :? :?

I didn't know that it was so complex!

Why not like this

Quote:
The best solution yet to emerge for application installation is the NeXT/OS X AppFolder concept. Put simply, the entire application is packaged into an folder with a special extension. When the file browser sees a folder with this extension, it treats it as if it were a special file instead of a directory. As a result, the user sees a single icon for an application, and is free to move or copy this icon to wherever he chooses - even a remote computer. Installation is as simple as extracting the folder and moving it to your favorite location, un-installation is as simple as deleting the folder, and tons of meta-info (such as associations) can automatically be pulled from the directory package.
Thanks to bhna

Full article
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple is better toddlongfellow Feature Requests 6 09-23-2009 11:02 AM
One simple question: how do I know my public IP address? uutorok General Questions 12 12-11-2007 08:58 PM
One simple question: why there is no /cdrom on PC-BSD uutorok General Questions 4 09-20-2007 05:08 AM
Oops! popey The Lounge 10 07-13-2006 10:50 PM
Really simple question: compiling on PCBSD YetAnotherNoob General Questions 6 06-02-2006 09:33 PM


All times are GMT. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.