Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Obama talks about the difference between "link" and "ln"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Thu Feb 07, 2013 4:36 pm    Post subject: Obama talks about the difference between "link" an Reply with quote

what is the differences between:
Code:
link f0 f1
and
Code:
ln f0 f1
?
AFAIK link works only with files and creates hard links, but with ln you can do this too, so why is link still around?
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
rtomek
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 210
Location: Chicago

PostPosted: Thu Feb 07, 2013 7:05 pm    Post subject: Reply with quote

speed? link only does one thing and does it well, rather than doing everything.
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1375
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Feb 07, 2013 8:34 pm    Post subject: Reply with quote

Same reason so many old things are still around, because they are so small it isn't "bad" to have them, and there *might* be some script or something that depends on it. Also in many cases the new functionality in the replacement simply calls the old process directly anyway.

If you know about both, why worry about it? Do you really have nothing else to worry or complain about?
_________________
mcgruff wrote:
I can't promise to be civil.


pjp wrote:
The greater evil is voting for the "lesser evil."
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Thu Feb 07, 2013 8:43 pm    Post subject: Reply with quote

Quote:
speed? link only does one thing and does it well, rather than doing everything.

Although I like this attitude I would stick with ln since link doesn't do it better than ln (AFAIK)

Quote:
Same reason so many old things are still around, because they are so small it isn't "bad" to have them, and there *might* be some script or something that depends on it. Also in many cases the new functionality in the replacement simply calls the old process directly anyway.

ok, I see...

Quote:
If you know about both, why worry about it? Do you really have nothing else to worry or complain about?

Because I'm a purist :) and I want to be able to know the whole system, so every redundancy most be avoided... however I have many things to worry and complain about.. :)
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1565
Location: U.S.A.

PostPosted: Thu Feb 07, 2013 9:16 pm    Post subject: Reply with quote

Trivia: The GNU coreutils package was created in 2003 by a merger of three packages (GNU fileutils, GNU shellutils, and GNU textutils). The 'ln' utility was part of fileutils, and the 'link' command was part of shellutils.
_________________
pjp wrote:
I didn't misquote you, I just misunderstood you.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16108
Location: Colorado

PostPosted: Thu Feb 07, 2013 11:41 pm    Post subject: Reply with quote

Don't worry, as necessary, they'll have a photo of Obama using either link or ln, depending on what they need the press to disperse.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Thu Feb 07, 2013 11:49 pm    Post subject: Reply with quote

Quote:
Trivia: The GNU coreutils package was created in 2003 by a merger of three packages (GNU fileutils, GNU shellutils, and GNU textutils). The 'ln' utility was part of fileutils, and the 'link' command was part of shellutils.

As usual thanks for the information [not iconic this time :) ]

Quote:
Don't worry, as necessary, they'll have a photo of Obama using either link or ln, depending on what they need the press to disperse.

:lol:
At least someone leaves a comment on my sneaky little trick to get more readers.. Moreover with a well dosed sarcastic criticism of one of the human weaknesses to see / use what suits their needs and not what is right... :lol:
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16108
Location: Colorado

PostPosted: Thu Feb 07, 2013 11:54 pm    Post subject: Reply with quote

I had to, since it was the only part of the post I could comment on :mrgreen: (Seriously though, I don't think I knew of link's existence).
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
erm67
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2005
Posts: 130
Location: somewhere in Berlusconia.

PostPosted: Sun Feb 10, 2013 10:14 pm    Post subject: Reply with quote

more trivia:

Quote:
The ln utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'').

The simplified link command conforms to Version 2 of the Single UNIX Specification (``SUSv2'').

_________________
Truck!!
A posse ad esse non valet consequentia
Πάντα ῥεῖ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum