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>
2.1m questions
2.1m answers
60 comments
57.0k users