Загрузка...

Terminal Multiplexer Break Down. Screen, Tmux, Terminator, and Kali's Default

0:00 Intro
0:06 Screen Command Part
7:05 Tmux Command Part
27:03 Terminator Command Part
29:18 Thinking about other Multiplexer but not for me (may need to come back some new better ones)
31:15 Using Kali's default Terminal Split that's already built in
__________________________________________________________________
# Screen Notes
1. start screen session
screen
screen -S Session_Name

2. print screen help
man screen
ctrl a shift ?

3. close split or quit out of a screen session
exit
0r
Ctrl b Shift :
quit

4. detach from a screen session
Ctrl a d

5. reattach to a screen session
screen -ls
screen -r
screen -r Session_Name

6. rename a screen session
Ctrl a Shift :
sessionname new_session_name

7. Run commands from a screen session
screen -dmS Session_Name Command
screen -dmS my_session ls
0r
ctrl a shift :
exec !"your_command"
exec !ls

8. Split window horizontally
Ctrl a Shift S

9. Split Window vertically
Ctrl a Shift |

10. Hop between Window Screen splits
Ctrl a tab

11. create a a new window for split or another window if no split has been made
Ctrl a c

12. View all windows
Ctrl a w

13. Cycle between windows
Ctrl a n
Ctrl a p
0r
Ctrl a Shift "

14. close a window
exit
0r
Ctrl a shift X

15. close everything in screen accept the currently selected window
Ctrl a Shift Q
# Tmux Notes

16. URL resource of where the bulk of the screen config is from
https://linuxize.com/post/how-to-use-linux-screen/

# Screen add a different prefix than (Ctrl a)
# escape ^Bb

__________________________________________________________________
# Tmux Notes
1. Start new Tmux session
tmux
tmux new -s Session_Name

2. Tmux split horizontally
Ctrl b shift "

3. Tmux split vertically
ctrl b shfit %

4. hop between panes
ctrl b (Arrow Keys)
ctrl b o
ctrl b q (pane_number)
ctrl b ;

5. shift panes around by number order from (ctrl b q)
ctrl b shift {
ctrl b shift }

6. close out the currently selected pane
exit
ctrl b x

7. close out the whole window
ctrl b shift &

8. Create a new Tmux window
ctrl b c

9. Rename Tmux Window
ctrl b ,

10. Rename Tmux Session
ctrl b shift $

11. Hop between tmux windows
ctrl b n
ctrl b p
0r
ctrl b l
ctrl b w
* arrow left and right to expand or retract the contexts of each session
* arrow up and down to change selection

12. Detach from a Tmux session
ctrl b d

13. Reattach to a Tmux session
tmux ls

tmux a
tmux a -t Session_Name

14. swap between sessions without detaching
ctrl b s

15. Using Tmux copy mode to scroll up or down the page and search for text
ctrl b [

ctrl r
ctrl s

16. Using Tmux copy mode to copy and paste text from the Tmux buffer
ctrl b [
(scroll to the start or end of text)
ctrl spacebar
alt w
ctrl b ]

17. Built in Tmux help menu
ctrl b shift ?

18. Zoom into a pane without having to detach it into it's own window with (ctrl b shift !)
ctrl b z

19. Go back to previous layout if messed up with (ctrl b spacebar) from command mode
ctrl b shift :
select-layout -o

20. Auto space area around the currently selected pane
ctrl b shift E

21. Manually resize the window
ctrl b (Arrow_Keys)
* make sure you hold down the prefix while doing this

22. Resize the window via command mode
ctrl b shift :

resize-pane (option) (cell_number)
-D -U -L -R (number)
resize-pane -L 5

23. rejoin panes to another window
ctrl b shift :

join-pane -t (window_name)
join-pane -s (window_name)

24. Custom Tmux config stuff is all on my Github. Since YT doesn't like special chars in the description
https://github.com/OreoByte/another_omt

* The THM Tmux walk-through room I made and semi reference in the video that is FREE
https://tryhackme.com/room/tmuxremux

__________________________________________________________________
# Terminator Notes
1. Start new Terminator session
terminator or use the start hotkey for your distro since it just spawns its own window

2. Split Horizontally
ctrl shift O

3. Split Vertically
ctrl shift E

4. Move between Terminator splits
Alt (Arrow_Keys)

5. Manually resize window
Ctrl Shift (Arrow_Keys)

6. Scroll up or down the page
(Mouse Wheel)

7. Making a single Terminator pane smaller or bigger
Ctrl Shift (Plus-Sign)
Ctrl -

8. Fine tune Terminator Via Preferences
right-click
Preferences
Keybindings
__________________________________________________________________
# Kali Built in Terminal Split Notes
1. Bring up all hotkeys and is a way to split with just your mouse
right click terminal

2. Create new terminal tab
Ctrl Shift T

3. Split Horizontally
Ctrl Shift D

4. Split Vertically
Ctrl Shift R

5. Navigate between the different splits in Kali
Alt (Arrow_Keys)

6. Close the currently selected Kali window or pane
Ctrl Shift E

7. Clear the terminal beyond the clear command
Ctrl Shift X

8. Make a single pane larger or smaller like you can do with terminator
Ctrl Shift (Plus_Sign)
Ctrl -

9. Change width of each window
(click and drag the section between the split windows)

Видео Terminal Multiplexer Break Down. Screen, Tmux, Terminator, and Kali's Default канала OreoByte
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять