In a C program I can write argv[0] and the new name shows up in a ps listing.
How can I do this in bash?
( exec -a foo bash -c 'echo $0' )