chipperMDW
Programmer
I seem to remember a utility or shell builtin that allows you to execute a command and "fake" the program invocation name (that is, what would go in a C program's [tt]argv[0][/tt]).
This facility exists because many programs behave differently based on how they are invoked. Most shells, for example, run as login shells when they are invoked with a name beginning with a dash. Programs like [tt]zip[/tt] and [tt]unzip[/tt] are typically the same executable, and decide how to behave by the name used to invoke them. (Though in that particular case, the "name-faking" is normally done by creating symlinks).
Anyway, I can't figure out the name of that utility. Can someone refresh my memory, please?
This facility exists because many programs behave differently based on how they are invoked. Most shells, for example, run as login shells when they are invoked with a name beginning with a dash. Programs like [tt]zip[/tt] and [tt]unzip[/tt] are typically the same executable, and decide how to behave by the name used to invoke them. (Though in that particular case, the "name-faking" is normally done by creating symlinks).
Anyway, I can't figure out the name of that utility. Can someone refresh my memory, please?