O'Reilly logo

SAMS Teach Yourself Unix in 10 Minutes by Robert Shimonski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The ln Command

As discussed previously in this book, when you learn the ls command, you should be aware of “links” to other files when you list out the contents of a directory. Those links can be made with the ln command.

The ln command is used to build links or aliases to other files on your Unix system. You can create manageable links to other files so that they can appear in the ls command output when you want the source file to appear to be in different locations, as well as have different names.

Practical application of this command would allow a source file that constantly changed names to be linked to a name that everyone could remember. For instance, a file named sales_report that all marketing managers could access may be kept up to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required