You have two choices:
The
screen
utility, though it doesn't ship with some Linux distros. It's not included by default in Solaris (Unix) either.For example, on Centos:
yum install screen
Here's a brief tutorial on screen utility usage.
The
nohup
command; redirect stdout and stderr accordingly:Example:
nohup command &