Linking FilesThis section will discuss how to create links or short cuts to files and/or directories. Links are a handy way to create your own user-friendly name for a command. You can also use links to quickly get to a long path name. As a old unix user, I like to use the command pg instead of the Linux command less. By creating a link from 'less' to 'pg', everytime I enter 'pg', Linux actually uses the 'less' command. ln creates standard or symbolic links.Note: Make sure the name you are linking to does not already exist!
|