I have a problem where when I execute commands such as "systemctl status" , output is written on to previous lines of bash output . normally output is written some 20 lines above the current line... PS1 does not seem to be the issue since I am using PS1=$ to keep it simple . Also tried solution mentioned in :
I am using putty to connect to ubuntu on a embedded target . I do not see this problem for e.g if I do a "cat" on a file .