HI FOLKS, MY NAME IS

THOMAS

IT VENDOR LEAD, LINUX EXPERT
& MOTORCYCLE ENTHUSIAST

Unix shell madness


At IBMs developerwork I saw nice Korn shell trick (should work in the bash as well):

$ mv kxp12.c file_system_access.c
$ ln –s !$ !:1

This one first move a file to a new name and create a symbolic link with the old name. Somehow cool!


IT VENDOR LEAD, LINUX EXPERT & MOTORCYCLE ENTHUSIAST

© 2019 by Thomas Bendler,
all Rights Reserved