LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Pointers (https://www.linuxquestions.org/questions/linux-newbie-8/pointers-822260/)

Rameses 07-26-2010 11:45 AM

Pointers
 
I'm a newie on Linux. I have a question in regards to pointers.
We are installing openfiler on a linux machine. One of the linux machine has:
openfiler -> /usr/sbin/httpd
The other one doesn't have the pointer "->". What does the symbol "->" means? And how do I make it to work? Any help is appreciated.

foodown 07-26-2010 12:03 PM

I assume that you are seeing this in the output of an 'ls -l' or similar command?

The is symbol denotes that the file to the left of it is a symbolic link to the file on the right of it. It is similar to, but not the same as, a shortcut or '.lnk' file in Windows.

So, on the machine that you see this link on, the file 'openfiler' is a symbolic link to '/usr/sbin/httpd", which is the executable that starts the web server.

In some cases, binaries will check to see how they were invoked and modify their behavior based on this, like bash, the Bourne-Again Shell; it will behave (mostly) like a POSIX Bourne shell if invoked through the symbolic link "/bin/sh".


All times are GMT -5. The time now is 02:32 PM.