|
|
|
|
|
|
| Author |
Message |
lynda *nix forums beginner
Joined: 01 Jun 2005
Posts: 1
|
Posted: Wed Jun 01, 2005 5:13 pm Post subject:
link
|
|
|
Can anyone tell me how i would do this command
Create a soft link in progs called mylink2, which is a absolute soft
link to the thismonth file in your home directory.
progs is in the work dirctory.
Thanx
Lynda |
|
| Back to top |
|
 |
Bob Harris *nix forums beginner
Joined: 23 Mar 2005
Posts: 39
|
Posted: Wed Jun 01, 2005 10:46 pm Post subject:
Re: link
|
|
|
In article <1117653227.936766.7270@f14g2000cwb.googlegroups.com>,
"lynda" <lyndamccrum@yahoo.co.uk> wrote:
| Quote: | Can anyone tell me how i would do this command
Create a soft link in progs called mylink2, which is a absolute soft
link to the thismonth file in your home directory.
progs is in the work dirctory.
Thanx
Lynda
|
if you are talking about link(), then this creates hardlinks. Softlinks
are created by symlink()
status = symlink("contents_of_symlink", "symlink_name");
if ( status != 0 ) {
perror("symlink_name");
exit(EXIT_FAILURE);
} |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 4:24 am | All times are GMT
|
|
Facebook Proxy | Fast Loans | Bankruptcy | Credit Cards | Bankruptcy
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|