Unix: Get path of current script when executed through a symlink
Get path of current script when executed through a symlink
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(unix.stackexchange.com/users/5981/mike-deck)Mike Deck
(unix.stackexchange.com/users/1925/caleb)Caleb
(unix.stackexchange.com/users/34654/diyism)diyism
(unix.stackexchange.com/users/19763/kevin-campion)Kevin Campion
(unix.stackexchange.com/users/181916/mryellow)MrYellow
(unix.stackexchange.com/users/131366/user2108420)user2108420
A special thanks goes out to the (https://unix.stackexchange.com/questions/17499/get-path-of-current-script-when-executed-through-a-symlink)Stackexchange community
I wish you all a wonderful day! Stay safe :)
symlink shell-script bash