split CLI terminal
gr8linux
Posts: 26
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.
0
Comments
-
You can, with emacs.0
-
woboyle wrote:You can, with emacs.
what is it? can u plz tell me in little detail....................0 -
emacs is advanced text editor.
but dont know howto make that...0 -
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.0
-
why dont you create new tab in your terminal window or open another terminal?0
-
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"0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 48 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 775 Linux Distributions
- 83 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 175 Mobile Computing
- 32 Android
- 128 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 730 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)