Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

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

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-05-2007
manas_ranjan's Unix or Linux Image
manas_ranjan manas_ranjan is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 14 April 2015, 5:25 AM EDT
Location: Amsterdam
Posts: 280
Thanks: 13
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 Unix and Linux 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 Unix and Linux 10-05-2007
manas_ranjan's Unix or Linux Image
manas_ranjan manas_ranjan is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 14 April 2015, 5:25 AM EDT
Location: Amsterdam
Posts: 280
Thanks: 13
Thanked 0 Times in 0 Posts
thanx alot porter.....
i was trying wrong way.......
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 06:02 PM.