GNU Screen enables you to run many shell processes in a single terminal. So in one e.g. xterm you can have many bash instances like layers in GIMP or Adobe Photoshop. Even better, you can split your terminal into different regions.
1)Create a screen using the command
#screen -S sylesh
2)Close the shell without logout
3)Open a new shell
4)Type screen -ls
[root@sylesh ~]# screen -ls
There are screens on:
16921.sds (Dead ???)
Remove dead screens with ’screen -wipe’.
3 Sockets in /tmp/screens/S-root.
5)You can login to that screen using the command screen -r ’screen name’
[root@sylesh ~]# screen -r 5002.sylesh
There is a screen on: