Ever wanted to run a terminal command in the background, and then pull it up later? You need the Linux screen command!
Links:
Official GNU screen website – https://www.gnu.org/software/screen/manual/screen.html#Default-Key-Bindings
Shortcuts:
Ctrl+a then d = Disconnect from the current screen
Ctrl+a then ” = View all of the available screen windows
Ctrl+a then 1,2,3…9 = Connect to a screen with a particular number
Ctrl+a then i = View information about the current screen
Ctrl+a then k = Kills the current window
Ctrl+a then \ = Kills all windows and terminates screen
Commands:
sudo apt-get install screen
sudo pacman -Sy screen
sudo dnf install screen
screen -ls
screen -r
screen -S bigfile
screen -r bigfile
screen -S monitor
dmesg -H -w
watch vmstat
Chapters:
0:00 Intro
0:23 Install Linux screen on Ubuntu
0:51 Install Linux screen on Manjaro
1:12 Install Linux screen on Fedora
1:31 Getting Started with Linux screen
3:52 Using Named screen Sessions on Linux
5:29 Using screen with Multiple Windows
8:31 End screen
What you’ll learn:
1. How you can push running terminal applications to the background and pull them forward when you want to see them
2. How to split screen in linux terminal
3. How to use terminal multiplexer
4. How you can create new windows, run multiple processes, detach and reattach sessions
5. How to push the window to the background (detach)
6. How you can pull the window to the foreground (reattach)
7. How you can create new windows and run other processes in them
8. How You can also split your terminal window into vertical or horizontal regions, and display your various screen windows in one window
9. Install Linux screen
a. How To install screen on ubuntu
b. How To install screen on Manjaro
c. How to install screen on Fedora
10. Getting Started with Linux screen
a. How To start screen
b. How to run a shell inside a multiplexed terminal emulator
c. How to download the source code for the latest Linux kernel and redirect it into a file called latestkernel.zip
d. How to detach the screen
e. How to get a list of the detached windows
f. How to reattach session
g. How to exit from the screen
h. How to forcibly kill a window
i. How to return to your previous terminal window
j. How to terminate screen
11. Detach from Linux Screen Session and Other Shortcuts
a. how to detatch yourself from a screen session
12. Using Named screen Sessions on Linux
a. How You can use the session name option to name your screen session
b. How to detach the session
c. How to see the details of your detached session
d. How to see the name of your session
e. How to reattach using session name
f. How to close the session window
13. Using screen with Multiple Windows
a. How to use screen to place a single process in the background in a detached window
b. How to run a few processes that allow you to monitor some aspects of your computer
c. How to start a screen session
d. How to display the kernel buffer messages
e. How to create a fresh window
f. How to get a frequently updated display of the virtual memory usage on our computer
g. How To hop between the screen windows
h. How to view both screens in one window
i. How to split window into two regions
j. How To move to the lower region
k. How to see live outputs in one split window
l. How to split the lower pane vertically
m. How to add a third process to the display
n. How to check file system usage
14. How To Keep A Command Running After You Log Out Of The SSH Session In Linux
Song: Markvard – Perfect Day
Music provided by Vlog No Copyright Music.
Video Link: https://bit.ly/41cpWMl
Song: Markvard Ft Yohanna Seifu – You Still Want Me (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: https://www.youtube.com/watch?v=NvZ3CN-vvsw&t=0s
#computereverywhere #howtouse #linux #screen #command
Leave a Reply