When I try to edit or assign the IP using this command:
Terminal opens a console which is uncontrollable, just like this:
This happens on CentOS and Red Hat.
try not opening it as background process
Of course it doesn't work ... It's a ncurses based program that uses a loop to refresh current screen, you run it in background, you end up with a mess ..
If you just need to setup some IPs, why won't you just do it with