Main menu:

Site search

Categories

Archive

symbolic links

Say you have a huge directory name, one that would be a pain in the neck to type in every time you wanted to access it, a neat thing to do is create a shorter “symbolic link” to it.

Instead of having to do something like:

# cd dnetc496-linux-x86-elf-uclibc

…every single time you wanted to access that directory, create a symbolic link first. Here’s how:

# ln -s dnetc496-linux-x86-elf-uclibc dnetc

Pretty simple. I just created a link called “dnetc” for that directory. Now, anytime I want to access that directory instead of typing out the long nasty directory name, I just type:

# cd dnetc

Write a comment