LinuxQuestions.org
Review your favorite Linux distribution.
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 10-12-2013, 05:54 PM   #1
mainmina
LQ Newbie
 
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
VI editor


what does ln comman mean in linux?
 
Old 10-12-2013, 06:05 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 88
ln creates a link to a file or directory - see the bottom of this page for a bit on links.

You can get information about Linux commands by typing man command or info command (in this case info ln).
 
Old 10-12-2013, 06:08 PM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,885
Blog Entries: 1

Rep: Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005
See man ln

It is used to create and delete symbolic and hard links to files or other filesystem locations.

With respect to the Vi editor, many (most) GNU/Linux distros come with Vim instead of Vi, and they symlink the name 'vi' to the editor executable /usr/bin/vim instead. As a result you can run the command vi and end up using vim. Vim itself looks at how it was invoked and changes it's behavior accordingly, so that if invoked as vi via the symlink, it will behave much as if it actually were vi. If it is invoked as vim it will become a fully functional Vim instance.
 
Old 10-12-2013, 08:40 PM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
Think if your using windows and install an application and it says "Add shortcut to desktop" Thats pretty much the ln command.

for more detail
Code:
$ man ln
 
Old 10-12-2013, 11:36 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
the Microsoft "shortcut" is nothing like a unix Link

you can link two text files
and if you edit one you edit the other because they ARE the same file
you can NOT do that with a Microsoft "shortcut"

however the question is
Quote:
ln comman mean
what dose " in comman " ????
is that "in common "?????
-- what dose in common mean ??
who knows ?

if it is the "ln" ( el en / link ) and command
then see
Code:
man ln

Last edited by John VV; 10-12-2013 at 11:39 PM.
 
Old 10-13-2013, 03:28 AM   #6
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 806

Rep: Reputation: 186Reputation: 186
To add to what John said (in post #5), with the "ln commna" you are actually linking a second name to the same physical file (known by it's inode). The linked name has a separate entry in the file system (or across file systems in symlink) and this can have entirely different rights properties, securities etc.

I wonder why the OP gave the tile as vi editor?

OK
 
Old 10-13-2013, 04:38 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
I wonder why the OP gave the tile as vi editor?
it is a one post one line post "wonder "

i think that they are badly wrote bots ? but that is an opinion
 
Old 10-13-2013, 11:11 AM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
I think "ln comman" is meant to be "ln command"

no idea what it has to do with vi{m}

and yes, it is one of those pointless questions that a search engine can answer
even with the typo
https://startpage.com/do/search?q=wh...an+in+linux%3F
the answer is there
 
Old 10-13-2013, 11:16 AM   #9
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by John VV View Post
it is a one post one line post "wonder "

i think that they are badly wrote bots ? but that is an opinion
Ha. And to think that I clicked on this thread to tell the OP to just use nano.
 
  


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
[SOLVED] return text from geany or other editor to IDE after saving and closing the editor mtdew3q Programming 4 05-15-2013 11:40 PM
[SOLVED] Need disk editor, not file editor Dafydd Linux - General 7 05-19-2012 02:10 PM
LQ is Looking for a News Editor and a Content Editor jeremy Linux - News 7 05-19-2012 12:58 AM
linux distro / photo editor / music editor of choice ?? expatcanuck Linux - Newbie 1 05-04-2009 06:24 PM
LXer: Open Movie Editor: Linux Video Editor with Plot Twists LXer Syndicated Linux News 0 10-27-2008 10:50 PM


All times are GMT -5. The time now is 12:27 PM.

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