LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "Aliasing" a directory (https://www.linuxquestions.org/questions/linux-newbie-8/aliasing-a-directory-97990/)

sirianni 09-28-2003 06:01 PM

"Aliasing" a directory
 
What is the syntax for "aliasing" a directory (or making a "shortcut") in linux. I've seen it done before, but I can't find the syntax anywhere.

I think once the alias is created it looks like

aliasedDir -> originalDir

when you do an 'ls -l'

Anyone know how to do this?

Thanks.

AltF4 09-28-2003 06:07 PM

it's called "symbolic link" or "symlink"

ln -s existing_file_or_dir new_name

"man ls" has more details


All times are GMT -5. The time now is 07:55 PM.