niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Tru64
link
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
lynda
*nix forums beginner


Joined: 01 Jun 2005
Posts: 1

PostPosted: Wed Jun 01, 2005 5:13 pm    Post subject: link Reply with 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
Back to top
Bob Harris
*nix forums beginner


Joined: 23 Mar 2005
Posts: 39

PostPosted: Wed Jun 01, 2005 10:46 pm    Post subject: Re: link Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 4:24 am | All times are GMT
navigation Forum index » *nix » Tru64
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts link to part of a file Weiguang Shi shell 2 Tue Jul 18, 2006 10:45 pm
No new posts WARNING: Hard link count is wrong for /selinux amit Setup 8 Mon Jul 17, 2006 7:21 pm
No new posts AIX JNI Link with G++ module Problem chriskr7 C++ 1 Thu Jul 13, 2006 2:59 am
No new posts AIX JNI Link with G++ module Problem chriskr7 AIX 0 Thu Jul 13, 2006 2:31 am
No new posts Database link cannot be dropped Forte Agent Server 5 Thu Jul 13, 2006 1:50 am

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
[ Time: 0.1908s ][ Queries: 16 (0.1283s) ][ GZIP on - Debug on ]