how to create symbolic link between folders..... | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

how to create symbolic link between folders.....

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-05-2007
manas_ranjan's Avatar
manas_ranjan manas_ranjan is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 18 April 2014, 7:12 AM EDT
Location: Amsterdam
Posts: 269
Thanks: 11
Thanked 0 Times in 0 Posts
how to create symbolic link between folders.....

hi champs,

i have folders structure up to log is there , which is as below,
app
|
|---version-4.1
| |----bin
| | |
| | |-----a.sh
| | |-----b.sh
| |
| |----log
|
|
\---version (symbolic link to version-4.1)


but i want to create another folder version which is a symbolic link to version-4.1 , how can i ?????
so that from symbolic link folder version , i could able to execute a.sh and b.sh.........

need help?????
Sponsored Links
    #2  
Old 10-05-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
move to the directory you want the symbolic link, then:

ln -s path-to-actual-folder name-of-link

to confirm, do:

ls -ld name-of-link
The Following User Says Thank You to porter For This Useful Post:
Kochappa (05-14-2013)
Sponsored Links
    #3  
Old 10-05-2007
manas_ranjan's Avatar
manas_ranjan manas_ranjan is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 18 April 2014, 7:12 AM EDT
Location: Amsterdam
Posts: 269
Thanks: 11
Thanked 0 Times in 0 Posts
thanx alot porter.....
i was trying wrong way.......
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
symbolic link tonijel Shell Programming and Scripting 2 10-01-2009 06:23 AM
tar the symbolic link ganga.dharan Shell Programming and Scripting 1 05-23-2008 07:11 AM
need some info about symbolic link and hard link detective linux UNIX for Dummies Questions & Answers 2 01-08-2008 06:36 AM
Create Symbolic Link lesstjm UNIX for Dummies Questions & Answers 2 03-21-2005 02:36 PM
symbolic Link bhargav UNIX for Dummies Questions & Answers 1 10-15-2004 09:41 AM



All times are GMT -4. The time now is 04:00 AM.