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 “ link” to it.
Instead of having to do something like:
# cd dnetc496--x86-elf-uclibc
…every single time you wanted to access that directory, create a link first. Here’s how:
# ln -s dnetc496--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
Posted: February 5th, 2007 under Linux.
Comments: none
Write a comment