News for hackers. Stuff that matters.
Re:What Shell Am I Using? by jan6 on Monday August 31, 2020 @02:12AM (#24328913)
what happened to the simple invocation of `which "$(echo $0)"` ?
Re:What Shell Am I Using? by em500 on Monday August 31, 2020 @02:59AM (#24329110)
As the author notes in the 2nd section, that will return the location of the binary in the user path, which is not necessarily the one that is currently running.