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?
You can do it when running a new program via exec -a <newname>.
exec -a <newname>
1.4m articles
1.4m replys
5 comments
57.0k users