Greg, Thank you, found the issue in "root" .profile, you were correct a '1' had been added to Prompt Command variable.
Respectfully, William Krongard Express Scripts Services, Server Support Work: (952)-837-7537 Cell: (763) 442-0640 Server Support Confluence page: Server Support landing page To reach out to the Server Support Team through Mattermost: https://mattermost.express-scripts.com/express-scripts/channels/server-support -----Original Message----- From: Greg Wooledge <wool...@eeg.ccf.org> Sent: Monday, June 29, 2020 4:32 PM To: Krongard, William T. (BLM) <wtkrong...@express-scripts.com> Cc: bug-bash@gnu.org Subject: [EXTERNAL] Re: bash 5.0 on AIX 7.2 server -- Division by 0 when using bash from shell window On Mon, Jun 29, 2020 at 08:24:01PM +0000, Krongard, William T. (BLM) wrote: > Description: > execution of "bash" from shell window gets a division by zero > message # bash > bash: (1-0/roothome1): division by 0 (error token is "roothome1)") > bash: (1-0/roothome1): division by 0 (error token is "roothome1)") > > every command executed is followed by the division by 0 message This will be caused by something in your environment -- either the PS1 variable, or the PROMPT_COMMAND variable, or a DEBUG trap, which is being set in one of root's dot files on your system. Most probably, you've got $(( )) where you meant to have $( ), or something along those lines. It'll probably be obvious once you print out the contents of the PS1 and PROMPT_COMMAND variables, and the output of "trap" with no arguments.