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 ...
Get SAMS Teach Yourself Unix in 10 Minutes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.