Recent Posts


Never Worry about Symlink Argument Order Again


Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

One long time resident of my ~/bin folder is lns

lns — a friendly program for making symbolic links

For whatever reason I’ve never been able to get the argument order to ln -s memorized. The lns perl script (which has always run out of the box on system provided perl without issue) make it so I never need to. Whether you

lns path/to/file path/to/new-link


lns path/to/new-link path/to/file 

the script does the right thing and creates the symlink, or tells you in plain english why it can’t.

Mentioning the script here mainly because google seems less and less able to surface it when I’m setting up a new computer.

Copyright © Alan Storm 1975 – 2022 All Rights Reserved

Originally Posted: 4th December 2017