The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-26-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Quote:
Originally Posted by dsravan View Post
I have a home directory namely /pto/ppa/ridbmw/etl/

Now i have various directorys below the home directory. For eg
from the home directory if i say cd /roddata it changes to that directory. I think its kind of link (I don't know if it's hard or soft). Now i need to create a new directory and make it have the same functionality.

For eg i now have to create a directory /poddata from the home directory and when i say cd /poddata from the home it shuld take me there. can some body help with the command.

I tried using ln -s /poddata from the home directory but when i say cd /poddata it says : not found

Please help.

When you say 'cd /roddata', it means that there is a link named roddata in root (/) to the directory named roddata in your home directory. So if you create a directory named poddata in your home directory (as in your example), you should create a link in root.

Like this:
Code:
ln -s /pto/ppa/ridbmw/etl/poddata /poddata
Note that you need to be root to write in /.