LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2010, 12:45 PM   #1
Rameses
LQ Newbie
 
Registered: Jul 2010
Posts: 13

Rep: Reputation: 0
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.
 
Old 07-26-2010, 01:03 PM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
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".

Last edited by foodown; 07-26-2010 at 01:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ pointers Dinithion Programming 12 04-06-2009 05:35 AM
c pointers andystanfordjason Programming 3 04-22-2007 05:23 PM
About pointers RHLinuxGUY Programming 4 11-15-2005 05:47 PM
need help with pointers schatoor Programming 8 02-03-2003 06:09 PM


All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration