Re: [newbie] How to create a symbolic link?

2003-06-15 Thread g
rikona wrote:

 I don't seem to have one of these. Is MD supposed to come set up with
 one? I was going to set up a link, but I don't seem to have the dir
 '/usr/share/doc/mandrake/en/index.html'. Did I not install something?

my apologies for leaving out in previous reply.

in md 9.0, may be diff vnum in md 9.1, howto's are in;
  howto-html-en-9.0-0.1mdk and howto-utils-0.2.9-1mdk rpms.

i believe that they are installed from selection 'documentation' during
a graphic install.


peace out.

tc,hago.

g
.
--
=+=
think green...
  save a tree, save a life, save time, save bandwidth, save storage.
  send email:  text/plain - disable pgp/gpg/geek code attachments.
=+=
 if you are proud to be an american, then buy made in america.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-14 Thread g


rikona wrote:

I don't seem to have one of these. Is MD supposed to come set up with
one?
my x desktop is built from accumulation of past distribs that i carry
to new installs. icon for 'linux documents' is from somewhere around
md 6.

I was going to set up a link, but I don't seem to have the dir
'/usr/share/doc/mandrake/en/index.html'. Did I not install something?
good question. i am still with md 9.0, as i have problems with md 9.1 dl.

When I'm hungry[desperate for a quick solution], feeding is nice. :-)
true, but when someone feeds you, do you look around on your own to find
desert? like, more info about what you are in question about? or do you
just accept answers with out further research?
Your short summary would be a good beginning for a 'HOW TO find info',
though. Might be very worthwhile for newbies.
my knowledge gained is from having been in unix from 70's and 80's. over time,
what i have learned is from a lot of reading of books, man pages and howto's.
from what i have noted in a lot of newbie questions, many questions are asked
because newbies do not take enough time, of put fort enough effort to find out
how linux works on their own. no reflection on anyone, just something that comes
about from way things are when someone is an ms windows user. ms windows is, with
out question, easier than x-windows. linux is not ms and hopefully never will be.
always remember, you get out of something what you are willing to put into it.
if you take an easy way by asking questions with out first looking for answers,
a day will come when you are in dire need of help, and no way to connect.
another is, i believe, that newbies have a tendency to try to 'keep up with
jones' by installing and updating every time there is a new release. what is
gained, is how to do installs and updates and nothing is learned about how and
what of systems themselves.
what would be of great help for newbies, is for replies to point newbies in a
direction to help themselves.
how many times have you seen answers given without any refs to man, info, or
howto's? much less hot links to places to find further info. tech lists have
become more of a 'quick answer' than they are true tech support learning place.
as for apropos, i have never found it to be all that helpful when it does work.

peace out.

tc,hago.

g
.
--
=+=
think green...
  save a tree, save a life, save time, save bandwidth, save storage.
  send email:  text/plain - disable pgp/gpg/geek code attachments.
=+=
 if you are proud to be an american, then buy made in america.
=+=


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread Anne Wilson
On Friday 13 Jun 2003 3:23 am, stormjumper wrote:
 and that's probably where apropos comes in
 (see last line of included output)

 [EMAIL PROTECTED] sj]# apropos link
 cleanlinks   (1x)  - remove dangling symbolic links and
 empty directories
 ifplugd  (8)  - A link detection daemon for ethernet
 devices ifstatus (8)  - A link beat detection tool
 ld   (1)  - Using LD, the GNU linker
 ld.so/ld [ld](8)  - linux.so - dynamic linker/loader
 ldconfig (8)  - determine run-time link bindings
 link (1)  - call the link function to create a link
 to a file
 ln   (1)  - make links between files
 *remainder of apropos output snipped*

That's useful.  I never really understood the use of apropos, but I 
can see it helping here.

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread Anne Wilson
On Friday 13 Jun 2003 12:19 am, g wrote:
 Anne Wilson wrote:
  Of course, the snag is that you have to know that 'ln' is the
  progname for making a symbolic link g

snip

 possibilities are numerous.

Absolutely - as always, linux is about choice g

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread Technoslick
On Fri, 2003-06-13 at 01:23, Len Lawrence wrote:
 On 12 Jun 2003 17:40:14 -0400
 Technoslick [EMAIL PROTECTED] wrote:
 
  On Thu, 2003-06-12 at 22:44, Derick Schmidt wrote:
   Hi
   
   Use ln -s path to the file or folder you want to link
   
   for example
   
   ln -s /mnt/win_d
  
  Aren't you missing the name of the link in your syntax?
 
 Not necessarily.  If no name is specified the last component of the file 
 name is used.  In this particular case the link will be named win_d in 
 whichever directory the command is invoked.

Gotcha. Thanks for clearing that up for me. :0)

T


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread Richard Urwin
It is also useful to remember that the path that you specify for the first 
parameter can and often should be a relative path.

For example if I have a project involving a lot of files in multiple 
directories, and in one of those I need a link to a file in another, it would 
be better to do:
ln -s ../dir/file
than
ln -s /home/richard/development/project/dir/file

The difference comes when the entire project tree is copied elsewhere, for 
example Joe might take over the project. So the file is now in 
/home/joe/mystuff/progs/project/dir/file. If I linked it relative then the 
link would still work, but with absolute pathnames they would have to be 
recreated.

On the other hand a link oustide the project, say to /usr/include/stdio.h 
should be done with an absolute path, or it will fail in the same 
circumstances:

ln -s ../../../../../usr/include/stdio.h
when moved to Joe's directory now refers to /home/usr/include/stdio.h, which 
does not exist.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread JoeHill
On Fri, 13 Jun 2003 14:34:06 +0100
Richard Urwin [EMAIL PROTECTED] uttered:

 example Joe might take over the project

Bd idea!
-- 
 Joehill
 Registered Linux user #282046
 Homepage: http://nodex.sytes.net
 09:52:47 up 10 days,  7:56,  4 users,  load average: 0.00, 0.02, 0.05

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread eric huff
  [EMAIL PROTECTED] sj]# apropos link
  cleanlinks   (1x)  - remove dangling symbolic links and
  empty directories
  ifplugd  (8)  - A link detection daemon for ethernet
  *remainder of apropos output snipped*

 That's useful.  I never really understood the use of apropos, but I
 can see it helping here.

And for those of you like me who have trouble speling approppos :)
it's the same as man -k link   (k for keyword).

eric

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread eric huff
Mine is broken somehow.  

[EMAIL PROTECTED] huff]$ apropos ln
inet_lnaof [inet](3)  - Internet address manipulation routines
isalnum [isalpha](3)  - character classification routines
iswalnum (3)  - test for alphanumeric wide character

It's not a big deal, just strange mostly.  

eric


On Fri June 13 2003 05:03 am, Ken Walker wrote:
 There is if you type aprops ln, goes to show if you use that you think
 is what you want, it isn't always and can lead you on a merry
 roundabout.

 -Original Message-
 From: eric huff [mailto:[EMAIL PROTECTED]
 Sent: 13 June 2003 5:25 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] How to create a symbolic link?
 
  and that's probably where apropos comes in
  (see last line of included output)
 
 I was just about to mention apropos, but check out my
 output:  no ln
 command.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread JoeHill
On Fri, 13 Jun 2003 08:54:11 -0700
eric huff [EMAIL PROTECTED] uttered:

 And for those of you like me who have trouble speling approppos :)
 it's the same as man -k link   (k for keyword).

Cool! I know, I'm a gud speler mosly, but apr...appro...a..

ah, ferget it.

-- 
 Joehill
 Registered Linux user #282046
 Homepage: http://nodex.sytes.net
 12:11:48 up 10 days, 10:15,  4 users,  load average: 0.00, 0.00, 0.00

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread David E Fox
 [EMAIL PROTECTED] huff]$ apropos ln
 inet_lnaof [inet](3)  - Internet address manipulation routines
 isalnum [isalpha](3)  - character classification routines
 iswalnum (3)  - test for alphanumeric wide character

My guess - as I was looking things up here - no ln(1) man
page. Aproopos is built from lines in man pages, ergo apropos 
doesn't come up with anything remotely related.

$ man ln

here says no manual entry for ln. This is from a somewhat 
restored cooker from a 9.0 install and there may be all sorts
of missing bits but the other manual pages are there (or 
at least lots of them) and manpath is set.

 eric

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-13 Thread Anne Wilson
On Friday 13 Jun 2003 4:58 pm, eric huff wrote:
 Mine is broken somehow.

 [EMAIL PROTECTED] huff]$ apropos ln
 inet_lnaof [inet](3)  - Internet address manipulation routines
 isalnum [isalpha](3)  - character classification routines
 iswalnum (3)  - test for alphanumeric wide character

 It's not a big deal, just strange mostly.

Another useful snippet - but it's harder to read than apropos

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link? hijacked to apropos

2003-06-13 Thread eric huff
On Fri June 13 2003 09:38 am, David E Fox wrote:
  [EMAIL PROTECTED] huff]$ apropos ln
  inet_lnaof [inet](3)  - Internet address manipulation routines
  isalnum [isalpha](3)  - character classification routines
  iswalnum (3)  - test for alphanumeric wide character

 My guess - as I was looking things up here - no ln(1) man
 page. Aproopos is built from lines in man pages, ergo apropos
 doesn't come up with anything remotely related.

 $ man ln

 here says no manual entry for ln. This is from a somewhat
 restored cooker from a 9.0 install and there may be all sorts
 of missing bits but the other manual pages are there (or
 at least lots of them) and manpath is set.

But i do have a man ln, and it has link in the desc.
(no apropos for links, either)

NAME
   ln - make links between files

Oh well

eric



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] How to create a symbolic link?

2003-06-12 Thread Derick Schmidt
Hi

Use ln -s path to the file or folder you want to link

for example

ln -s /mnt/win_d



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marco Verheul
Sent: Friday, June 13, 2003 12:36 AM
To: [EMAIL PROTECTED]
Subject: [newbie] How to create a symbolic link?


Hi,

Does anybody know how to create a symbolic link?

Marco
-- 
Registered Linux user #268279

* This message is composed on a 100% Microsoft free computer *




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-12 Thread g


Marco Verheul wrote:

Does anybody know how to create a symbolic link?
marco,

linux and unix have a program know as 'man', which is
terse for 'manual'.
definition for most all command line commands can be
viewed by entering, in command line mode, either outside
of x-windows, or in an x terminal window.
so, any time you are wondering about a command, simply
enter 'man progname'. in this case, 'man ln'.
you can even enter 'man man' to get a description
of how to use 'man'.
peace out.

tc,hago.

g
.
--
=+=
think green...
  save a tree, save a life, save time, save bandwidth, save storage.
  send email:  text/plain - disable pgp/gpg/geek code attachments.
=+=
 if you are proud to be an american, then buy made in america.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-12 Thread Anne Wilson
On Thursday 12 Jun 2003 8:52 pm, g wrote:
 Marco Verheul wrote:
  Does anybody know how to create a symbolic link?

 marco,

 linux and unix have a program know as 'man', which is
 terse for 'manual'.

 definition for most all command line commands can be
 viewed by entering, in command line mode, either outside
 of x-windows, or in an x terminal window.

 so, any time you are wondering about a command, simply
 enter 'man progname'. in this case, 'man ln'.

 you can even enter 'man man' to get a description
 of how to use 'man'.

Of course, the snag is that you have to know that 'ln' is the progname 
for making a symbolic link g

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] How to create a symbolic link?

2003-06-12 Thread Technoslick
On Thu, 2003-06-12 at 22:44, Derick Schmidt wrote:
 Hi
 
 Use ln -s path to the file or folder you want to link
 
 for example
 
 ln -s /mnt/win_d

Aren't you missing the name of the link in your syntax?

T


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-12 Thread stormjumper

- Original Message - 
From: Anne Wilson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 05:36
Subject: Re: [newbie] How to create a symbolic link?


 On Thursday 12 Jun 2003 8:52 pm, g wrote:
  Marco Verheul wrote:
   Does anybody know how to create a symbolic link?
 
  marco,
 
  linux and unix have a program know as 'man', which is
  terse for 'manual'.
 
  definition for most all command line commands can be
  viewed by entering, in command line mode, either outside
  of x-windows, or in an x terminal window.
 
  so, any time you are wondering about a command, simply
  enter 'man progname'. in this case, 'man ln'.
 
  you can even enter 'man man' to get a description
  of how to use 'man'.
 
 Of course, the snag is that you have to know that 'ln' is the progname
 for making a symbolic link g

 Anne

and that's probably where apropos comes in
(see last line of included output)

[EMAIL PROTECTED] sj]# apropos link
cleanlinks   (1x)  - remove dangling symbolic links and empty
directories
ifplugd  (8)  - A link detection daemon for ethernet devices
ifstatus (8)  - A link beat detection tool
ld   (1)  - Using LD, the GNU linker
ld.so/ld [ld](8)  - linux.so - dynamic linker/loader
ldconfig (8)  - determine run-time link bindings
link (1)  - call the link function to create a link to a
file
ln   (1)  - make links between files
*remainder of apropos output snipped*


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-12 Thread eric huff
 and that's probably where apropos comes in
 (see last line of included output)

I was just about to mention apropos, but check out my output:  no ln 
command.

I definitely have ln, and a man page for it...

[EMAIL PROTECTED] huff]$ apropos link
NETLINK_ROUTE [rtnetlink] (7)  - Linux IPv4 routing socket
PF_NETLINK [netlink] (7)  - Communication between kernel and user
_skb_unlink [skb_unlink] (9)  - remove an sk_buff from its list
dlclose [dlopen] (3)  - Programming interface to dynamic linking loader
dlerror [dlopen] (3)  - Programming interface to dynamic linking loader
dlopen   (3)  - Programming interface to dynamic linking loader
dlsym [dlopen]   (3)  - Programming interface to dynamic linking loader
link (2)  - make a new name for a file
netlink  (3)  - Netlink macros
netlink  (7)  - Communication between kernel and user
readlink (2)  - read value of a symbolic link
rtnetlink(3)  - Macros to manipuate rtnetlink messages
rtnetlink(7)  - Linux IPv4 routing socket
shm_open (3)  - Create/open or unlink POSIX shared memory 
objects
shm_unlink [shm_open] (3)  - Create/open or unlink POSIX shared memory 
objects
skb_unlink   (9)  - remove an sk_buff from its list
symlink  (2)  - make a new name for a file
unlink   (2)  - delete a name and possibly the file it refers 
to




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-12 Thread Len Lawrence
On 12 Jun 2003 17:40:14 -0400
Technoslick [EMAIL PROTECTED] wrote:

 On Thu, 2003-06-12 at 22:44, Derick Schmidt wrote:
  Hi
  
  Use ln -s path to the file or folder you want to link
  
  for example
  
  ln -s /mnt/win_d
 
 Aren't you missing the name of the link in your syntax?

Not necessarily.  If no name is specified the last component of the file 
name is used.  In this particular case the link will be named win_d in 
whichever directory the command is invoked.
-- 
Len Lawrence
--
Never face facts; if you do, you'll never get up in the morning.
-- Marlo Thomas
--

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] How to create a symbolic link?

2003-06-12 Thread stormjumper

- Original Message - 
From: eric huff [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 12:25
Subject: Re: [newbie] How to create a symbolic link?


  and that's probably where apropos comes in
  (see last line of included output)

 I was just about to mention apropos, but check out my output:  no ln
 command.

 I definitely have ln, and a man page for it...

 [EMAIL PROTECTED] huff]$ apropos link
 NETLINK_ROUTE [rtnetlink] (7)  - Linux IPv4 routing socket
 PF_NETLINK [netlink] (7)  - Communication between kernel and user
 _skb_unlink [skb_unlink] (9)  - remove an sk_buff from its list
 dlclose [dlopen] (3)  - Programming interface to dynamic linking
loader
 dlerror [dlopen] (3)  - Programming interface to dynamic linking
loader
 dlopen   (3)  - Programming interface to dynamic linking
loader
 dlsym [dlopen]   (3)  - Programming interface to dynamic linking
loader
 link (2)  - make a new name for a file
 netlink  (3)  - Netlink macros
 netlink  (7)  - Communication between kernel and user
 readlink (2)  - read value of a symbolic link
 rtnetlink(3)  - Macros to manipuate rtnetlink messages
 rtnetlink(7)  - Linux IPv4 routing socket
 shm_open (3)  - Create/open or unlink POSIX shared memory
 objects
 shm_unlink [shm_open] (3)  - Create/open or unlink POSIX shared memory
 objects
 skb_unlink   (9)  - remove an sk_buff from its list
 symlink  (2)  - make a new name for a file
 unlink   (2)  - delete a name and possibly the file it refers
 to

i suspect a combination of mandrake versions and installation type can mess
up apropos.

in my quoted case, i was using mandrake 9.1, text-install, and minimal
choice of packages.

i realised that man-pages-whateverversion.rpm wasn't installed, and apropos
as a result didn't show many otherwise useful possibilities until i added
man-pages.whatever.rpm manually using urpmi.

on my mandrake 9.0 system, apropos fails completely, showing no output for
even common stuff, eg
# apropos cp
cp: nothing appropriate

running makewhatis results in the following error.

# makewhatis
/usr/sbin/makewhatis: line 156: cd: /usr/man: No such file or directory

i just left it alone, since i do most of my work (except email) on my
mandrake 9.1 system anyway.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com