Jump to navigation
Brought to you by
is it possible to split/divide CLI terminal into two parts so that i can do two different works without switching to other tty, and i can see those two windows simultaneously.
You can, with emacs.
what is it? can u plz tell me in little detail....................
emacs is advanced text editor.
but dont know howto make that...
There must be some way to fit in two Bash sessions on the same screen/tty. With a resolution of 1600*1200 it's slightly silly to have only one at the time.
why dont you create new tab in your terminal window or open another terminal?
You can do this with "screen". It may already be installed, depending on your distro.
There are a few guides out there to explain how to use screen, but here is a quick run through to (hopefully) get want you to accomplish.
First, start a screen session with the command "screen"
To split the console window, press "Ctrl"+"a" (This is the sequence to start a command) followed by "S" (note the capital S)
Now, you want to create a new session in your new region.
"Ctrl"+"a" followed by "tab" to change focus to the new area.
"Ctrl"+"a" followed by "c" to bring up a prompt here.
Now you have two "terminals" in one TTY.
A few more helpful tips.
Help screen: "Ctrl"+"a" then ?
Close other 'tab': "Ctrl"+"a" then "Q"
Detach screen (to leave processes running): "Ctrl"+"a" then "d"