LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-02-2003, 05:27 AM   #1
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Rep: Reputation: 30
what is the "ln" command? what does it do?


what does it mean?
what does this command do: ln -fs


thank you very much =)
 
Old 03-02-2003, 05:29 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Actually there are man pages for things like that. If you don't have a man page on it, check out the LQ manpages:
http://man.linuxquestions.org

As for ln, it creates a symlink. The -fs options make it a soft symlink and forces the symlinking if one already exists.

man ln for more info

Cool
 
Old 03-02-2003, 08:52 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
kublador,

I've mentioned this once already, trying to be nice but it seems you ask alot of general type questions, alot of them the answers are already out there for you. A quick and simple search will find these for you, either on this site or maybe google.com. The man pages will always give you information of a particular command. Just type man <command-name> to view what any command does on a *nix system.
May I also suggest you might want to look into a book, your questions you ask clearly state your not at all familiar with Linux in any way, only making yourself more confused. Like this question seems to have been only asked cause someone in another thread answered your question mentioning for you to use the ln command.

I'm not trying to be rude or anything, its just frustrating for us to keep replying to simple questions like this when the answers are already out there.

Regards,

trickykid
 
Old 03-02-2003, 08:53 AM   #4
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
Type those commands in a terminal:

man ln
whatis ln
ln --help
 
Old 03-02-2003, 12:01 PM   #5
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
also
apropos "topic"
 
Old 03-02-2003, 12:07 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you didn't know apropos IS whatis, same code exactly
 
Old 03-02-2003, 12:10 PM   #7
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
http://wwwacs.gantep.edu.tr/linux/rute/

Excellent reference material for newbies.
 
Old 03-02-2003, 03:52 PM   #8
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
Re apropos/whatis
on my Mandy 8.2 (for example)
whatis link - returns 1 command
apropos link -returns 55 commands
try it on yours
 
Old 03-02-2003, 04:01 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
heh, turns out the difference is the single letter "w" once, which matches whole words, not part words. other than that they are totally identical, they are the same program.
 
Old 03-02-2003, 06:05 PM   #10
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
from a user's perspective, whatis is a narrow search and apropos is a broad (too damn verbose)search when you are looking for a command or command category
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
cdrecord command-line parentheses "(" ")" coolingtower Linux - Software 1 10-28-2005 11:49 AM
"stalled" problem in " scp" command gentleshark Linux - Networking 1 08-29-2005 12:41 PM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-21-2003 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 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
Open Source Consulting | Domain Registration